gradio/ui/packages/app/src/components/Checkbox/Checkbox.svelte

8 lines
169 B
Svelte
Raw Normal View History

2022-02-02 22:02:09 +08:00
<script lang="ts">
2022-03-08 21:35:42 +08:00
import { Checkbox } from "@gradio/form";
2022-02-02 22:02:09 +08:00
export let value: boolean;
export let theme: string;
</script>
2022-03-08 21:35:42 +08:00
<Checkbox {theme} bind:value on:change />