mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
docs(components): demo size different than default
This commit is contained in:
@@ -34,7 +34,7 @@ Use the `size` prop to change the size of all the avatars.
|
|||||||
---
|
---
|
||||||
prettier: true
|
prettier: true
|
||||||
props:
|
props:
|
||||||
size: md
|
size: xl
|
||||||
slots:
|
slots:
|
||||||
default: |
|
default: |
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ ignore:
|
|||||||
- src
|
- src
|
||||||
props:
|
props:
|
||||||
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
|
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
|
||||||
size: md
|
size: xl
|
||||||
---
|
---
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ Use the `size` prop to change the size of the Badge.
|
|||||||
::component-code
|
::component-code
|
||||||
---
|
---
|
||||||
props:
|
props:
|
||||||
size: md
|
size: lg
|
||||||
slots:
|
slots:
|
||||||
default: Badge
|
default: Badge
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Use the `size` prop to change the size of all the buttons.
|
|||||||
---
|
---
|
||||||
prettier: true
|
prettier: true
|
||||||
props:
|
props:
|
||||||
size: md
|
size: xl
|
||||||
slots:
|
slots:
|
||||||
default: |
|
default: |
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ Use the `size` prop to change the size of the Button.
|
|||||||
::component-code
|
::component-code
|
||||||
---
|
---
|
||||||
props:
|
props:
|
||||||
size: md
|
size: xl
|
||||||
slots:
|
slots:
|
||||||
default: Button
|
default: Button
|
||||||
---
|
---
|
||||||
@@ -93,7 +93,6 @@ Use the `leading` and `trailing` props to set the icon position or the `leading-
|
|||||||
::component-code
|
::component-code
|
||||||
---
|
---
|
||||||
props:
|
props:
|
||||||
leadingIcon: ''
|
|
||||||
trailingIcon: i-heroicons-arrow-right
|
trailingIcon: i-heroicons-arrow-right
|
||||||
size: md
|
size: md
|
||||||
slots:
|
slots:
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ Use the `size` prop to change the size of the Kbd.
|
|||||||
::component-code
|
::component-code
|
||||||
---
|
---
|
||||||
props:
|
props:
|
||||||
size: md
|
size: lg
|
||||||
slots:
|
slots:
|
||||||
default: K
|
default: K
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user