fix: radiobutton slot not working (#799) (#808)

Co-authored-by: Edwin Leong <leong_edwin@bah.com>
This commit is contained in:
airedwin 2021-09-05 18:34:10 -04:00 committed by GitHub
commit c1bf34964d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
/> />
<label class:bx--radio-button__label="{true}" for="{id}"> <label class:bx--radio-button__label="{true}" for="{id}">
<span class:bx--radio-button__appearance="{true}"></span> <span class:bx--radio-button__appearance="{true}"></span>
{#if labelText} {#if labelText || $$slots.labelText}
<span class:bx--visually-hidden="{hideLabel}"> <span class:bx--visually-hidden="{hideLabel}">
<slot name="labelText"> <slot name="labelText">
{labelText} {labelText}