Allow button to handle nullish text values
This commit is contained in:
parent
b0f5b9b1ce
commit
b368deb717
|
@ -15,7 +15,7 @@
|
|||
disabled={disabled || false}
|
||||
use:styleable={$component.styles}
|
||||
on:click={onClick}>
|
||||
{text}
|
||||
{text || ''}
|
||||
</button>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Reference in New Issue