add defaults to Button and ActionGroup components
This commit is contained in:
parent
5eaae47ec0
commit
446c3af075
|
@ -1,9 +1,9 @@
|
||||||
<script>
|
<script>
|
||||||
import "@spectrum-css/actiongroup/dist/index-vars.css"
|
import "@spectrum-css/actiongroup/dist/index-vars.css"
|
||||||
export let vertical;
|
export let vertical = false;
|
||||||
export let justified;
|
export let justified = false;
|
||||||
export let quiet;
|
export let quiet = false;
|
||||||
export let compact;
|
export let compact = false;
|
||||||
|
|
||||||
// Attaches a spectrum-ActionGroup-item class to buttons inside the div
|
// Attaches a spectrum-ActionGroup-item class to buttons inside the div
|
||||||
function group(element) {
|
function group(element) {
|
||||||
|
|
|
@ -3,7 +3,11 @@
|
||||||
|
|
||||||
export let disabled = false
|
export let disabled = false
|
||||||
export let size = "M"
|
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 quiet = false
|
||||||
export let icon = undefined
|
export let icon = undefined
|
||||||
export let active = false
|
export let active = false
|
||||||
|
|
Loading…
Reference in New Issue