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