gradio/js/textbox
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
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
package.json chore: update versions (#7177) 2024-02-06 15:19:29 -08:00
README.md
Textbox.stories.svelte
Textbox.test.ts
TextboxExample.stories.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00

@gradio/textbox

<script>
    import { BaseTextbox, BaseExample } from "@gradio/textbox";
</script>

BaseTextbox

	export let value = "";
	export let value_is_output = false;
	export let lines = 1;
	export let placeholder = "Type here...";
	export let label: string;
	export let info: string | undefined = undefined;
	export let disabled = false;
	export let show_label = true;
	export let container = true;
	export let max_lines: number;
	export let type: "text" | "password" | "email" = "text";
	export let show_copy_button = false;
	export let rtl = false;
	export let autofocus = false;
	export let text_align: "left" | "right" | undefined = undefined;
	export let autoscroll = true;

BaseExample

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