mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
Make Toggle
labels slottable (#1002)
* feat(toggle): support slottable labels * yarn build:lib * docs(toggle): add "Slottable labels" example
This commit is contained in:
parent
37f19d2171
commit
32edfa59dd
5 changed files with 30 additions and 3 deletions
|
@ -12440,6 +12440,18 @@
|
|||
}
|
||||
],
|
||||
"slots": [
|
||||
{
|
||||
"name": "labelA",
|
||||
"default": false,
|
||||
"fallback": "{labelA}",
|
||||
"slot_props": "{}"
|
||||
},
|
||||
{
|
||||
"name": "labelB",
|
||||
"default": false,
|
||||
"fallback": "{labelB}",
|
||||
"slot_props": "{}"
|
||||
},
|
||||
{
|
||||
"name": "labelText",
|
||||
"default": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue