stacker.news/components/action-tooltip.js

18 lines
343 B
JavaScript
Raw Normal View History

2021-07-08 18:43:03 +00:00
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>
)
}