gradio/js/uploadbutton
Xiang Liao 9bcb1da189
Feat: make UploadButton accept icon (#6584)
* feat: make UploadButton accept icon

* add changeset

* add proxy url prop

* add stories

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-27 09:31:21 +00:00
..
shared Feat: make UploadButton accept icon (#6584) 2023-11-27 09:31:21 +00:00
CHANGELOG.md chore: update versions (#6514) 2023-11-22 18:43:10 -05:00
Index.svelte Feat: make UploadButton accept icon (#6584) 2023-11-27 09:31:21 +00:00
package.json chore: update versions (#6514) 2023-11-22 18:43:10 -05:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
UploadButton.stories.svelte Feat: make UploadButton accept icon (#6584) 2023-11-27 09:31:21 +00: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;