mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs(components): add first prop title in usage to be displayed in toc
This commit is contained in:
@@ -8,6 +8,8 @@ links:
|
||||
|
||||
## Usage
|
||||
|
||||
### Title
|
||||
|
||||
Use the `title` prop to set the title of the Alert.
|
||||
|
||||
::component-code
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,6 +8,8 @@ links:
|
||||
|
||||
## Usage
|
||||
|
||||
### Label
|
||||
|
||||
Use the default slot to set the label of the Badge.
|
||||
|
||||
::component-code
|
||||
|
||||
@@ -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"}
|
||||
|
||||
@@ -8,6 +8,8 @@ links:
|
||||
|
||||
## Usage
|
||||
|
||||
### Label
|
||||
|
||||
Use the default slot to set the label of the Button.
|
||||
|
||||
::component-code
|
||||
|
||||
@@ -11,6 +11,8 @@ navigation:
|
||||
|
||||
## Usage
|
||||
|
||||
### Value
|
||||
|
||||
Use the default slot to set the value of the Kbd.
|
||||
|
||||
::component-code
|
||||
|
||||
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user