gradio/js/uploadbutton
Gradio PR Bot 4d520a8a7b
chore: update versions (#9908)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 16:16:39 -08:00
..
shared rework upload to be a class method + pass client into each component (#8179) 2024-05-01 14:55:41 +00:00
CHANGELOG.md chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
Index.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
package.json chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
README.md
UploadButton.stories.svelte
UploadButton.test.ts Fix published package exports (#9163) 2024-08-22 16:38:45 +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;