mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
test: update button test
This commit is contained in:
parent
a1302baa44
commit
1014390d91
1 changed files with 6 additions and 2 deletions
|
@ -13,9 +13,9 @@
|
||||||
|
|
||||||
<Button kind="danger">Danger button</Button>
|
<Button kind="danger">Danger button</Button>
|
||||||
|
|
||||||
<Button kind="danger-tertiary">Danger tertiary button</Button>
|
<Button kind="danger--tertiary">Danger tertiary button</Button>
|
||||||
|
|
||||||
<Button kind="danger-ghost">Danger ghost button</Button>
|
<Button kind="danger--ghost">Danger ghost button</Button>
|
||||||
|
|
||||||
<Button icon="{Add}">With icon</Button>
|
<Button icon="{Add}">With icon</Button>
|
||||||
|
|
||||||
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
<Button href="#">Link button</Button>
|
<Button href="#">Link button</Button>
|
||||||
|
|
||||||
|
<Button as let:props>
|
||||||
|
<p {...props}>Custom element</p>
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button size="field">Primary</Button>
|
<Button size="field">Primary</Button>
|
||||||
|
|
||||||
<Button size="field" kind="secondary">Secondary</Button>
|
<Button size="field" kind="secondary">Secondary</Button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue