File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,15 @@ Checkout out my <u use:tooltip={{ content: 'Hello World!' }}>tooltip</u>
42
42
### Props
43
43
| Prop | Description | Value |
44
44
| :----------- | :------------------------------------------------------------------ | :---------------------------------------------- |
45
- | action | The action that triggers the tooltip (hover | click) | ` string ` (default: ` hover ` ) |
45
+ | action | The action that triggers the tooltip (hover | click | prop) | ` string ` (default: ` hover ` ) |
46
46
| animation | The animation to apply to the tooltip | ` string ` (default: ``) |
47
47
| arrow | If ` false ` , the tooltip arrow will not be shown. | ` boolean ` (default: ` true ` ) |
48
48
| autoPosition | Adjust tooltip position if viewport clipping occurs | ` string ` (default: ` false ` ) |
49
49
| content | The string or object containing componentref and props | ` string ` | ` object ` component (default: ``) |
50
50
| maxWidth | The max allowable width of the tooltip content | ` number ` (default: ` 200 ` ) |
51
51
| position | The position where the tooltip should appear relative to its parent | ` string ` (default: ` top ` ) |
52
52
| theme | The CSS theme class name | ` string ` (default: ``) |
53
+ | show | Allows you to manually control the tooltip visibility | ` boolean ` (default: ` false ` ) |
53
54
| style | The object containing theme variable overrides | ` object ` (default: ` null ` ) |
54
55
55
56
#### Using components as content
You can’t perform that action at this time.
0 commit comments