Skip to content

Commit 59487d6

Browse files
committed
refactor(docs): update docs with code samples
1 parent c555ad0 commit 59487d6

File tree

14 files changed

+3043
-73
lines changed

14 files changed

+3043
-73
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@ Checkout out my <u use:tooltip={{ content: 'Hello World!' }}>tooltip</u>
4242
### Props
4343
| Prop | Description | Value |
4444
| :----------- | :------------------------------------------------------------------ | :---------------------------------------------- |
45-
| content | The string or object containing componentref and props | `string` | `object` component (default: ``) |
46-
| arrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) |
4745
| animation | The animation to apply to the tooltip | `string` (default: ``) |
46+
| arrow | If `false`, the tooltip arrow will not be shown. | `boolean` (default: `true`) |
47+
| autoPosition | Adjust tooltip position if viewport clipping occurs | `string` (default: `false`) |
48+
| content | The string or object containing componentref and props | `string` | `object` component (default: ``) |
4849
| maxWidth | The max allowable width of the tooltip content | `number` (default: `200`) |
4950
| position | The position where the tooltip should appear relative to its parent | `string` (default: `top`) |
50-
| autoPosition | Adjust tooltip position if viewport clipping occurs | `string` (default: `false`) |
51+
| theme | The CSS theme class name | `string` (default: ``) |
5152

5253
#### Using components as content
5354
| Prop | Description | Value |

0 commit comments

Comments
 (0)