Skip to content

Commit a4a6e85

Browse files
authored
docs(style): changed style property from plural into singular
1 parent b328052 commit a4a6e85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Checkout out my <u use:tooltip={{ content: 'Hello World!' }}>tooltip</u>
4949
| maxWidth | The max allowable width of the tooltip content | `number` (default: `200`) |
5050
| position | The position where the tooltip should appear relative to its parent | `string` (default: `top`) |
5151
| 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`) |
5353

5454
#### Using components as content
5555
| Prop | Description | Value |
@@ -69,7 +69,7 @@ Checkout out my <span use:tooltip={{ content: { component: ComponentAsTooltip, p
6969
## Theming
7070
You can customize tooltips theme using several methods:
7171
- 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
7373
- Override the CSS variables globally
7474

7575
Tooltip CSS variables:

0 commit comments

Comments
 (0)