carbon-components-svelte/tests/Checkbox.test.svelte
metonym 6450e8b0b1
fix(types): add missing $$restProps for Checkbox, Filename, FluidForm (#1655)
* fix(types): add missing `$$restProps` for `Checkbox`, `Filename`, `FluidForm`

* Run "yarn build:docs"

* test: assert `$$restProps` for `Checkbox`, `Form`
2023-02-11 13:50:01 -05:00

15 lines
338 B
Svelte

<script lang="ts">
import { Checkbox } from "../types";
</script>
<Checkbox labelText="Label text" style="margin: 1rem" />
<Checkbox labelText="Label text" checked />
<Checkbox labelText="Label text" indeterminate />
<Checkbox labelText="Label text" hideLabel />
<Checkbox labelText="Label text" disabled />
<Checkbox skeleton />