Allow button to handle nullish text values

This commit is contained in:
Andrew Kingston 2021-01-21 13:45:17 +00:00
parent b0f5b9b1ce
commit b368deb717
1 changed files with 1 additions and 1 deletions

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>