gradio/js/radio
Abubakar Abid 8dd6f4bc19
Handle the case where examples is null for all components (#7192)
* handle null examples

* add changeset

* add changeset

* lint

* merge conflict

* fixes

* add changeset

* stories

* feedback

* examples

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-29 16:51:22 -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 (#7083) 2024-01-25 16:10:24 -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
package.json chore: update versions (#7083) 2024-01-25 16:10:24 -08:00
Radio.stories.svelte
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

@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;