mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
* chore: update ignore rules, remove unused files * refactor(icons): use icons from carbon-icons-svelte@11 * docs(time-picker): fix default value * chore: upgrade carbon-icons-svelte to v11 * docs: update examples to use icons from carbon-icons-svelte@11 * docs: update number of icons [ci skip]
14 lines
347 B
Svelte
14 lines
347 B
Svelte
<script lang="ts">
|
|
import { Button, ButtonSet } from "../types";
|
|
import Login from "carbon-icons-svelte/lib/Login.svelte";
|
|
</script>
|
|
|
|
<ButtonSet>
|
|
<Button kind="secondary">Cancel</Button>
|
|
<Button>Submit</Button>
|
|
</ButtonSet>
|
|
|
|
<ButtonSet stacked>
|
|
<Button icon="{Login}">Log in</Button>
|
|
<Button kind="ghost">Sign up</Button>
|
|
</ButtonSet>
|