mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(components): [switch] add active & inactive slots (#22429)
* feat(components): [switch] add active & inactive slots * chore: docs & tests & refact * style: icon center * style: items-center Co-authored-by: Zhong <cszhjh@gmail.com> * Update docs/en-US/component/switch.md Co-authored-by: btea <2356281422@qq.com> * Update docs/en-US/component/switch.md Co-authored-by: btea <2356281422@qq.com> --------- Co-authored-by: Zhong <cszhjh@gmail.com> Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
@@ -134,10 +134,12 @@ switch/custom-action-slot
|
||||
|
||||
### Switch Slots
|
||||
|
||||
| Name | Description |
|
||||
| ------------------------ | ------------------------- |
|
||||
| active-action ^(2.4.4) | customize active action |
|
||||
| inactive-action ^(2.4.4) | customize inactive action |
|
||||
| Name | Description |
|
||||
| ------------------------ | -------------------------- |
|
||||
| active-action ^(2.4.4) | customize active action |
|
||||
| inactive-action ^(2.4.4) | customize inactive action |
|
||||
| active ^(2.13.0) | customize active content |
|
||||
| inactive ^(2.13.0) | customize inactive content |
|
||||
|
||||
### Exposes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user