stacker.news/components/action-tooltip.js

18 lines
343 B
JavaScript

import { OverlayTrigger, Tooltip } from 'react-bootstrap'
export default function ActionTooltip ({ children }) {
return (
<OverlayTrigger
placement='bottom'
overlay={
<Tooltip>
1 sat
</Tooltip>
}
trigger={['hover', 'focus', 'active']}
>
{children}
</OverlayTrigger>
)
}