mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
* test(code-snippet): simply assertions * feat(code-snippet): dispatch "expand," "collapse" events * Run "yarn build:docs" * test(code-snippet): assert events
21 lines
319 B
Svelte
21 lines
319 B
Svelte
<script lang="ts">
|
|
import { CodeSnippet } from "../types";
|
|
</script>
|
|
|
|
<CodeSnippet
|
|
type="inline"
|
|
copy="{(text) => text}"
|
|
code=""
|
|
hideCopyButton
|
|
disabled
|
|
skeleton
|
|
wrapText
|
|
expanded
|
|
on:animationend
|
|
on:click
|
|
on:copy
|
|
on:expand
|
|
on:collapse
|
|
>
|
|
yarn add -D carbon-components-svelte
|
|
</CodeSnippet>
|