mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 20:57:57 +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
|
## Usage
|
||||||
|
|
||||||
|
### Title
|
||||||
|
|
||||||
Use the `title` prop to set the title of the Alert.
|
Use the `title` prop to set the title of the Alert.
|
||||||
|
|
||||||
::component-code
|
::component-code
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## 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.
|
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
|
::component-code
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Label
|
||||||
|
|
||||||
Use the default slot to set the label of the Badge.
|
Use the default slot to set the label of the Badge.
|
||||||
|
|
||||||
::component-code
|
::component-code
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Items
|
||||||
|
|
||||||
Use the `items` prop as an array of objects with the following properties:
|
Use the `items` prop as an array of objects with the following properties:
|
||||||
|
|
||||||
- `label?: string`{lang="ts-type"}
|
- `label?: string`{lang="ts-type"}
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Label
|
||||||
|
|
||||||
Use the default slot to set the label of the Button.
|
Use the default slot to set the label of the Button.
|
||||||
|
|
||||||
::component-code
|
::component-code
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ navigation:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Value
|
||||||
|
|
||||||
Use the default slot to set the value of the Kbd.
|
Use the default slot to set the value of the Kbd.
|
||||||
|
|
||||||
::component-code
|
::component-code
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Items
|
||||||
|
|
||||||
Use the `items` prop as an array of objects with the following properties:
|
Use the `items` prop as an array of objects with the following properties:
|
||||||
|
|
||||||
- `label?: string`{lang="ts-type"}
|
- `label?: string`{lang="ts-type"}
|
||||||
|
|||||||
Reference in New Issue
Block a user