gradio/js/file
pngwn bbf9ba7e99
i am changesets now (#9612)
* version

* fix
2024-10-09 13:46:26 +01:00
..
shared 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
CHANGELOG.md i am changesets now (#9612) 2024-10-09 13:46:26 +01:00
Example.svelte
File.stories.svelte
FileUpload.stories.svelte
Index.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
package.json i am changesets now (#9612) 2024-10-09 13:46:26 +01:00
README.md

@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;