Add quiet prop to button

This commit is contained in:
Andrew Kingston 2021-07-05 10:19:27 +01:00
parent 3ac16befad
commit e969692952
1 changed files with 2 additions and 0 deletions

View File

@ -9,10 +9,12 @@
export let onClick
export let size = "M"
export let type = "primary"
export let quiet = false
</script>
<button
class={`spectrum-Button spectrum-Button--size${size} spectrum-Button--${type}`}
class:spectrum-Button--quiet={quiet}
disabled={disabled || false}
use:styleable={$component.styles}
on:click={onClick}