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

10 lines
209 B
Svelte
Raw Normal View History

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