mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(components): consistent writing
This commit is contained in:
@@ -131,7 +131,7 @@ props:
|
||||
---
|
||||
::
|
||||
|
||||
You can also pass all the props of the [Button](/components/button) component to customize it.
|
||||
You can pass any property from the [Button](/components/button) component to customize it.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -17,7 +17,11 @@ The Avatar uses the `NuxtImg` component when [`@nuxt/image`](https://github.com/
|
||||
|
||||
### 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.
|
||||
|
||||
::note
|
||||
You can pass any property from the HTML `<img>` element such as `alt`, `loading`, etc.
|
||||
::
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -18,7 +18,7 @@ Use the `items` prop as an array of objects with the following properties:
|
||||
- `class?: any`{lang="ts-type"}
|
||||
- [`slot?: string`{lang="ts-type"}](#with-custom-slot)
|
||||
|
||||
You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -358,7 +358,7 @@ props:
|
||||
---
|
||||
::
|
||||
|
||||
You can also pass all the props of the [Button](/components/button) component to customize it.
|
||||
You can pass any property from the [Button](/components/button) component to customize it.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -32,7 +32,7 @@ Use the `items` prop as an array of objects with the following properties:
|
||||
- `onSelect?(e: Event): void`{lang="ts-type"}
|
||||
- [`onUpdateChecked?(checked: boolean): void`{lang="ts-type"}](#with-checkbox-items)
|
||||
|
||||
You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
|
||||
::component-code
|
||||
---
|
||||
@@ -104,7 +104,7 @@ slots:
|
||||
::
|
||||
|
||||
::note
|
||||
You can pass an array of arrays to the `items` prop to create separated groups of items.
|
||||
You can also pass an array of arrays to the `items` prop to create separated groups of items.
|
||||
::
|
||||
|
||||
::tip
|
||||
|
||||
@@ -32,7 +32,7 @@ Use the `items` prop as an array of objects with the following properties:
|
||||
- `onSelect?(e: Event): void`{lang="ts-type"}
|
||||
- [`onUpdateChecked?(checked: boolean): void`{lang="ts-type"}](#with-checkbox-items)
|
||||
|
||||
You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
|
||||
::component-code
|
||||
---
|
||||
@@ -103,7 +103,7 @@ slots:
|
||||
::
|
||||
|
||||
::note
|
||||
You can pass an array of arrays to the `items` prop to create separated groups of items.
|
||||
You can also pass an array of arrays to the `items` prop to create separated groups of items.
|
||||
::
|
||||
|
||||
::tip
|
||||
|
||||
@@ -93,7 +93,7 @@ slots:
|
||||
|
||||
Use the `close` prop to customize or hide the close button (with `false` value) displayed in the Modal's header.
|
||||
|
||||
You can pass all the props of the [Button](/components/button) component to customize it.
|
||||
You can pass any property from the [Button](/components/button) component to customize it.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -27,7 +27,7 @@ Use the `items` prop as an array of objects with the following properties:
|
||||
- [`slot?: string`{lang="ts-type"}](#with-custom-slot)
|
||||
- `onSelect?(e: Event): void`{lang="ts-type"}
|
||||
|
||||
You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
|
||||
|
||||
::component-code
|
||||
---
|
||||
@@ -120,7 +120,7 @@ props:
|
||||
::
|
||||
|
||||
::note
|
||||
You can pass an array of arrays to the `items` prop to display groups of items.
|
||||
You can also pass an array of arrays to the `items` prop to display groups of items.
|
||||
::
|
||||
|
||||
::tip
|
||||
|
||||
@@ -202,7 +202,7 @@ props:
|
||||
|
||||
Use the `search-input` prop to customize or hide the search input (with `false` value).
|
||||
|
||||
You can pass all the props of the [Input](/components/input) component to customize it.
|
||||
You can pass any property from the [Input](/components/input) component to customize it.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
@@ -93,7 +93,7 @@ slots:
|
||||
|
||||
Use the `close` prop to customize or hide the close button (with `false` value) displayed in the Slideover's header.
|
||||
|
||||
You can pass all the props of the [Button](/components/button) component to customize it.
|
||||
You can pass any property from the [Button](/components/button) component to customize it.
|
||||
|
||||
::component-code
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user