mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
bd2c695328
* py * path * barebones js * add changeset * add changeset * downloadbutton * add changeset * changes * clog * commit * revert' * fix * js * add changeset * cleanup * download * notebooks * stories * change * fix * format * download * Fix updating `icon` parameter (bug resulting from https://github.com/gradio-app/gradio/pull/7528) (#7554) * fetch 2 * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
---|---|---|
.. | ||
shared | ||
CHANGELOG.md | ||
Index.svelte | ||
package.json | ||
README.md | ||
UploadButton.stories.svelte | ||
UploadButton.test.ts |
@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;