mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01: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
2
types/Toggle/Toggle.svelte.d.ts
vendored
2
types/Toggle/Toggle.svelte.d.ts
vendored
|
@ -64,5 +64,5 @@ export default class Toggle extends SvelteComponentTyped<
|
|||
focus: WindowEventMap["focus"];
|
||||
blur: WindowEventMap["blur"];
|
||||
},
|
||||
{ labelText: {} }
|
||||
{ labelA: {}; labelB: {}; labelText: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue