gradio/js/uploadbutton
pngwn bb4126cc24
chore: update versions (#7338)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-09 22:15:34 -08:00
..
shared Allow buttons to take null value (#7126) 2024-01-24 13:10:00 -08:00
CHANGELOG.md chore: update versions (#7338) 2024-02-09 22:15:34 -08:00
Index.svelte Allow buttons to take null value (#7126) 2024-01-24 13:10:00 -08:00
package.json chore: update versions (#7338) 2024-02-09 22:15:34 -08:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
UploadButton.stories.svelte Expand chatinterface to full window height (#7313) 2024-02-06 13:42:30 -08:00
UploadButton.test.ts Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/uploadbutton

<script>
    import { BaseUploadButton } from "@gradio/uploadbutton";
</script>

BaseUploadButton

	export let elem_id = "";
	export let elem_classes: string[] = [];
	export let visible = true;
	export let label: string;
	export let value: null | FileData | FileData[];
	export let file_count: string;
	export let file_types: string[] = [];
	export let root: string;
	export let size: "sm" | "lg" = "lg";
	export let scale: number | null = null;
	export let min_width: number | undefined = undefined;
	export let variant: "primary" | "secondary" | "stop" = "secondary";
	export let disabled = false;