docs(components): demo size different than default

This commit is contained in:
Benjamin Canac
2024-07-26 13:03:24 +02:00
parent a6c4ffa013
commit b9249c0c3d
6 changed files with 6 additions and 7 deletions

View File

@@ -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: |

View File

@@ -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
--- ---
:: ::

View File

@@ -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
--- ---

View File

@@ -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: |

View File

@@ -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:

View File

@@ -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
--- ---