mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
test(content-switcher): add unit tests
This commit is contained in:
parent
63fdb75664
commit
67df81eac9
7 changed files with 219 additions and 15 deletions
13
tests/ContentSwitcher/ContentSwitcher.size.test.svelte
Normal file
13
tests/ContentSwitcher/ContentSwitcher.size.test.svelte
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script lang="ts">
|
||||
import { ContentSwitcher, Switch } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<ContentSwitcher size="sm">
|
||||
<Switch text="Small 1" />
|
||||
<Switch text="Small 2" />
|
||||
</ContentSwitcher>
|
||||
|
||||
<ContentSwitcher size="xl">
|
||||
<Switch text="XL 1" />
|
||||
<Switch text="XL 2" />
|
||||
</ContentSwitcher>
|
Loading…
Add table
Add a link
Reference in a new issue