fix: radiobutton slot not working (#799)

This commit is contained in:
Edwin Leong 2021-09-02 16:36:13 -04:00
commit 00d1326fb8

View file

@ -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}