gradio/js/radio
pngwn 2382f741ff
chore: update versions (#7177)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
..
shared Fix bug where radio.select passes the previous value to the function instead of the selected value (#6262) 2023-11-02 16:40:42 -04:00
CHANGELOG.md chore: update versions (#7177) 2024-02-06 15:19:29 -08:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
Index.svelte ensure radios have different names (#6249) 2023-11-02 20:06:18 +00:00
package.json chore: update versions (#7177) 2024-02-06 15:19:29 -08:00
Radio.stories.svelte Fix stories (#6244) 2023-11-02 12:10:11 +00:00
Radio.test.ts Fix bug where radio.select passes the previous value to the function instead of the selected value (#6262) 2023-11-02 16:40:42 -04:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/radio

<script>
    import { BaseRadio, BaseExample } from "@gradio/radio"; 
</script>

BaseRadio

	export let display_value: string;
	export let internal_value: string | number;
	export let disabled = false;
	export let elem_id = "";
	export let selected: string | number | null = null;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;