Below, we will showcase a few components built-in with NRN:
The native Reactstrap tooltip is disappointing. Not only it's hard to use, but it can also crash your whole app under particular circumstances.
To fix this, we built our own, which relies on rc-tooltip
.
Example:
1
2
3
4
5
6
7
<Tooltip
overlay={<span>This is a tooltip</span>}
>
<Button>Hover/Click me</Button>
</Tooltip>
Example:
1
2
3
4
5
6
7
8
<Tooltip
overlay={<span>This is a tooltip</span>}
placement={'right'}
>
<Button>Hover/Click me</Button>
</Tooltip>
Un autre okokok - 2021
Tous droits réservés