chore(deps-dev): upgrade svelte-check to v2.4.5 (#1159)

This commit is contained in:
metonym 2022-03-12 13:50:47 -08:00 committed by GitHub
commit cb014219fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 32 additions and 60 deletions

View file

@ -1,12 +1,13 @@
<script>
import { ToggleSmall, CodeSnippet } from "carbon-components-svelte";
import { Toggle, CodeSnippet } from "carbon-components-svelte";
let toggled = false;
const code = Array.from({ length: 20 }, (_, i) => i + 1).join("\n");
</script>
<ToggleSmall
<Toggle
size="sm"
style="margin-bottom: var(--cds-spacing-05)"
labelText="Show code snippets"
bind:toggled