1
0
Fork 0
mirror of synced 2024-07-13 02:05:54 +12:00

Allow button to handle nullish text values

This commit is contained in:
Andrew Kingston 2021-01-21 13:45:17 +00:00
parent 3621bcf1de
commit 836dbcd71c

View file

@ -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>