add Checkbox and TextInput wrapper components

This commit is contained in:
Moritz Bischof 2021-05-04 19:23:59 +02:00
commit f60535b881
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<script>
import { Checkbox } from "carbon-components-svelte";
export let value = undefined;
</script>
<Checkbox bind:checked="{value}" {...$$restProps} />

View file

@ -0,0 +1,7 @@
<script>
import { TextInput } from "carbon-components-svelte";
export let value;
</script>
<TextInput style="margin-bottom: 1rem;" bind:value {...$$restProps} />