mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 11:47:55 +01:00
docs(Button): add rounded section with ui prop
This commit is contained in:
@@ -112,6 +112,26 @@ props:
|
|||||||
Button
|
Button
|
||||||
::
|
::
|
||||||
|
|
||||||
|
### Rounded
|
||||||
|
|
||||||
|
To customize the border radius of the Button, you can use the `ui` prop.
|
||||||
|
|
||||||
|
::component-card
|
||||||
|
---
|
||||||
|
props:
|
||||||
|
ui:
|
||||||
|
rounded: 'rounded-full'
|
||||||
|
excludedProps:
|
||||||
|
- ui
|
||||||
|
---
|
||||||
|
|
||||||
|
Button
|
||||||
|
::
|
||||||
|
|
||||||
|
::callout{icon="i-heroicons-light-bulb"}
|
||||||
|
You can customize the whole [preset](#preset) by using the `ui` prop.
|
||||||
|
::
|
||||||
|
|
||||||
### Icon
|
### Icon
|
||||||
|
|
||||||
Use any icon from [Iconify](https://icones.js.org) by setting the `icon` prop by using this pattern: `i-{collection_name}-{icon_name}`.
|
Use any icon from [Iconify](https://icones.js.org) by setting the `icon` prop by using this pattern: `i-{collection_name}-{icon_name}`.
|
||||||
|
|||||||
Reference in New Issue
Block a user