Allow button to handle nullish text values
This commit is contained in:
parent
3621bcf1de
commit
836dbcd71c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue