mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
fix: radiobutton slot not working (#799)
This commit is contained in:
parent
abfc472c82
commit
00d1326fb8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
/>
|
||||
<label class:bx--radio-button__label="{true}" for="{id}">
|
||||
<span class:bx--radio-button__appearance="{true}"></span>
|
||||
{#if labelText}
|
||||
{#if labelText || $$slots.labelText}
|
||||
<span class:bx--visually-hidden="{hideLabel}">
|
||||
<slot name="labelText">
|
||||
{labelText}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue