docs(components): add first prop title in usage to be displayed in toc

This commit is contained in:
Benjamin Canac
2024-07-23 16:50:18 +02:00
parent 4825b754fc
commit 023a5215bf
7 changed files with 14 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ links:
## Usage
### Title
Use the `title` prop to set the title of the Alert.
::component-code

View File

@@ -11,6 +11,8 @@ links:
## Usage
### Src
Use the `src` prop to set the image URL. You can pass any property from HTML `<img>` element such as `alt`, `loading`, etc.
::component-code

View File

@@ -8,6 +8,8 @@ links:
## Usage
### Label
Use the default slot to set the label of the Badge.
::component-code

View File

@@ -8,6 +8,8 @@ links:
## Usage
### Items
Use the `items` prop as an array of objects with the following properties:
- `label?: string`{lang="ts-type"}

View File

@@ -8,6 +8,8 @@ links:
## Usage
### Label
Use the default slot to set the label of the Button.
::component-code

View File

@@ -11,6 +11,8 @@ navigation:
## Usage
### Value
Use the default slot to set the value of the Kbd.
::component-code

View File

@@ -11,6 +11,8 @@ links:
## Usage
### Items
Use the `items` prop as an array of objects with the following properties:
- `label?: string`{lang="ts-type"}