File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Checkout out my <u use:tooltip={{ content: 'Hello World!' }}>tooltip</u>
49
49
| maxWidth | The max allowable width of the tooltip content | ` number ` (default: ` 200 ` ) |
50
50
| position | The position where the tooltip should appear relative to its parent | ` string ` (default: ` top ` ) |
51
51
| theme | The CSS theme class name | ` string ` (default: ``) |
52
- | styles | The object containing theme variable overrides | ` object ` (default: ` null ` ) |
52
+ | style | The object containing theme variable overrides | ` object ` (default: ` null ` ) |
53
53
54
54
#### Using components as content
55
55
| Prop | Description | Value |
@@ -69,7 +69,7 @@ Checkout out my <span use:tooltip={{ content: { component: ComponentAsTooltip, p
69
69
## Theming
70
70
You can customize tooltips theme using several methods:
71
71
- Assign a theme class name via the ` theme ` property that includes all of your CSS variables overrides
72
- - Define the overrides directly using the ` styles ` property
72
+ - Define the overrides directly using the ` style ` property
73
73
- Override the CSS variables globally
74
74
75
75
Tooltip CSS variables:
You can’t perform that action at this time.
0 commit comments