gradio/js/multimodaltextbox
Dawood Khan 341844f04e
Click to preview images in chatbot (#8377)
* click to preview image

* add changeset

* color of svg

* notebook

* fix

* fix

* fix preview bug

* thumbnail spacing

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-03 22:30:24 +00:00
..
shared Click to preview images in chatbot (#8377) 2024-06-03 22:30:24 +00:00
CHANGELOG.md chore: update versions (#8420) 2024-05-30 14:55:23 -07:00
Example.svelte
Index.svelte Client node fix (#8252) 2024-05-09 12:06:28 +01:00
MultimodalTextbox.stories.svelte
MultimodalTextbox.test.ts
MultimodalTextboxExample.stories.svelte
package.json chore: update versions (#8420) 2024-05-30 14:55:23 -07:00
README.md

@gradio/multimodaltextbox

<script>
    import { BaseMultimodalTextbox, BaseExample } from "@gradio/multimodaltextbox";
</script>

BaseMultimodalTextbox

	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;