diff --git a/packages/standard-components/manifest.json b/packages/standard-components/manifest.json index 24f910872b..6a5de3b8c2 100644 --- a/packages/standard-components/manifest.json +++ b/packages/standard-components/manifest.json @@ -135,6 +135,20 @@ "label": "Text", "key": "text" }, + { + "type": "select", + "label": "Button Type", + "key": "type", + "options": ["primary", "secondary", "cta", "warning"], + "defaultValue": "primary" + }, + { + "type": "select", + "label": "Size", + "key": "size", + "options": ["S", "M", "L", "XL"], + "defaultValue": "M" + }, { "type": "boolean", "label": "Disabled", diff --git a/packages/standard-components/src/Button.svelte b/packages/standard-components/src/Button.svelte index e9a6d6e95e..d307b25256 100644 --- a/packages/standard-components/src/Button.svelte +++ b/packages/standard-components/src/Button.svelte @@ -7,31 +7,15 @@ export let disabled = false export let text = "" export let onClick + export let size = "M" + export let type = "primary" - - + \ No newline at end of file