mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(types): prefix icon type with "typeof"
This commit is contained in:
parent
26ce330e1d
commit
7a1480f0ed
16 changed files with 64 additions and 49 deletions
14
tests/ButtonSet.test.svelte
Normal file
14
tests/ButtonSet.test.svelte
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script lang="ts">
|
||||
import { Button, ButtonSet } from "../types";
|
||||
import Login16 from "carbon-icons-svelte/lib/Login16";
|
||||
</script>
|
||||
|
||||
<ButtonSet>
|
||||
<Button kind="secondary">Cancel</Button>
|
||||
<Button>Submit</Button>
|
||||
</ButtonSet>
|
||||
|
||||
<ButtonSet stacked>
|
||||
<Button icon="{Login16}">Log in</Button>
|
||||
<Button kind="ghost">Sign up</Button>
|
||||
</ButtonSet>
|
Loading…
Add table
Add a link
Reference in a new issue