mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore(deps-dev): upgrade svelte-check to v2.4.5 (#1159)
This commit is contained in:
parent
48348df43d
commit
cb014219fd
9 changed files with 32 additions and 60 deletions
|
@ -1,17 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { ToggleSmall, CodeSnippet } from "../types";
|
||||
import { CodeSnippet } from "../types";
|
||||
|
||||
let toggled = false;
|
||||
|
||||
const code = Array.from({ length: 20 }, (_, i) => i + 1).join("\n");
|
||||
</script>
|
||||
|
||||
<ToggleSmall
|
||||
style="margin-bottom: var(--cds-spacing-05)"
|
||||
labelText="Show code snippets"
|
||||
bind:toggled
|
||||
/>
|
||||
|
||||
{#if toggled}
|
||||
<h5>"Show more" will not render</h5>
|
||||
<br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue