Update component.md

This commit is contained in:
Georges KABBOUCHI
2022-11-21 01:30:37 +02:00
parent d482416e49
commit 1d87e92da4
+2 -8
View File
@@ -66,17 +66,11 @@ Click [here](/props) to see full documentation on props.
```html
<tippy-singleton move-transition="transform 0.2s ease-out" placement="top">
<tippy
class="text-sm py-2 px-3 bg-gray-900 text-white rounded-lg"
content="Working tooltip"
>
<tippy content="Working tooltip">
Button 1
</tippy>
<tippy
class="text-sm py-2 px-3 bg-gray-900 text-white rounded-lg"
content="Working tooltip"
>
<tippy content="Working tooltip">
Button 2
</tippy>
</tippy-singleton>