@gradio/file
v0.11.1
Published
Gradio UI packages
Downloads
440
Readme
@gradio/file
<script>
import { BaseFile, BaseFileUpload, FilePreview, BaseExample } from "@gradio/file";
</script>
BaseFile
export let value: FileData | FileData[] | null = null;
export let label: string;
export let show_label = true;
export let selectable = false;
export let height: number | undefined = undefined;
export let i18n: I18nFormatter;
BaseFileUpload
export let value: null | FileData | FileData[];
export let label: string;
export let show_label = true;
export let file_count = "single";
export let file_types: string[] | null = null;
export let selectable = false;
export let root: string;
export let height: number | undefined = undefined;
export let i18n: I18nFormatter;
FilePreview
export let value: FileData | FileData[];
export let selectable = false;
export let height: number | undefined = undefined;
export let i18n: I18nFormatter;
BaseExample
export let value: FileData;
export let type: "gallery" | "table";
export let selected = false;