mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-07-06 23:41:14 +08:00
✨ feat(button): add disabled and loading state
This commit is contained in:
@ -12,6 +12,8 @@ Button
|
||||
|
||||
### Variants
|
||||
|
||||
#### soft
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
@ -20,6 +22,36 @@ props:
|
||||
Button
|
||||
::
|
||||
|
||||
#### outline
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
variant: outline
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
||||
#### ghost
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
variant: ghost
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
||||
#### link
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
variant: link
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
||||
### Colors
|
||||
|
||||
::ComponentPreview
|
||||
@ -29,3 +61,23 @@ props:
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
||||
### Disabled
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
disabled: true
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
||||
### Loading
|
||||
|
||||
::ComponentPreview
|
||||
---
|
||||
props:
|
||||
loading: true
|
||||
---
|
||||
Button
|
||||
::
|
||||
|
Reference in New Issue
Block a user