1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +12:00

add defaults to Button and ActionGroup components

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-21 15:59:08 +02:00
parent 5eaae47ec0
commit 446c3af075
2 changed files with 9 additions and 5 deletions

View file

@ -1,9 +1,9 @@
<script>
import "@spectrum-css/actiongroup/dist/index-vars.css"
export let vertical;
export let justified;
export let quiet;
export let compact;
export let vertical = false;
export let justified = false;
export let quiet = false;
export let compact = false;
// Attaches a spectrum-ActionGroup-item class to buttons inside the div
function group(element) {

View file

@ -3,7 +3,11 @@
export let disabled = false
export let size = "M"
export let cta, primary, secondary, warning, overBackground
export let cta = false;
export let primary = false;
export let secondary = false;
export let warning = false
export let overBackground = false;
export let quiet = false
export let icon = undefined
export let active = false