gradio/js/radio
pngwn 2cffcf3c39
ensure radios have different names (#6249)
* ensure radios have different names

* add changeset

* reinstate demo

* fix type

* fix ts error

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 20:06:18 +00:00
..
shared ensure radios have different names (#6249) 2023-11-02 20:06:18 +00:00
CHANGELOG.md chore: update versions (#6039) 2023-10-31 13:20:18 +00:00
Example.svelte Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
Index.svelte ensure radios have different names (#6249) 2023-11-02 20:06:18 +00:00
package.json chore: update versions (#6039) 2023-10-31 13:20:18 +00:00
Radio.stories.svelte Fix stories (#6244) 2023-11-02 12:10:11 +00:00
Radio.test.ts ensure radios have different names (#6249) 2023-11-02 20:06:18 +00: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;