stacker.news/components/action-tooltip.js
2021-07-08 13:43:03 -05:00

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>
)
}