gradio/js/uploadbutton
Abubakar Abid eda33b3763
Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528)
* fetch

* add changeset

* add changeset

* simplify

* add changeset

* changes

* format

* add changeset

* changes

* format

* fixes

* lint

* fix components

* fixes

* typing

* format frontend

* path

* fixes

* fix stories

* lint

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-26 13:01:00 -08:00
..
shared Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08:00
CHANGELOG.md chore: update versions (#7426) 2024-02-16 12:28:13 -08:00
Index.svelte Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08:00
package.json chore: update versions (#7426) 2024-02-16 12:28:13 -08:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
UploadButton.stories.svelte Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08:00
UploadButton.test.ts Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08: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;