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