Skip to content

Commit 510d203

Browse files
authored
docs(tooltip): 📝 update docs with preview
1 parent 471ad89 commit 510d203

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/tooltip.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
AdaptUI provides a Tooltip Component which can be used to provide a brief,
44
informative message when a user interacts with an element.
55

6+
<div align='center'>
7+
<img src="https://user-images.githubusercontent.com/35562287/208374706-a85e0bc5-f6c4-4ef4-8c6e-bfb42f69c349.png" style="width:375px;" />
8+
</div>
9+
610
#### Simple Usage
711

812
```js
@@ -46,4 +50,4 @@ This component uses `<Popover>` component from
4650
| isTooltipOpen | Is the Tooltip Open for Controlled popovers | boolean | |
4751
| handleTooltipState | A callback to listen to change events also to set state for controlled popovers. | (isOpen: boolean) => void | |
4852

49-
> type TooltipPlacement `top` `bottom` `left` `right` `top left` `top right` `bottom left` `bottom right` `right top` `right bottom` `left top`
53+
> type TooltipPlacement `top` `bottom` `left` `right` `top left` `top right` `bottom left` `bottom right` `right top` `right bottom` `left top`

0 commit comments

Comments
 (0)