gradio/js/dataframe
Gradio PR Bot b635a31714
chore: update versions (#9168)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 09:10:25 +08:00
..
shared make all component SSR compatible (#9187) 2024-08-31 06:19:51 +00:00
CHANGELOG.md chore: update versions (#9168) 2024-09-06 09:10:25 +08:00
Dataframe.stories.svelte Initial SSR refactor (#9102) 2024-08-14 15:17:36 +01:00
Example.svelte
Index.svelte make all component SSR compatible (#9187) 2024-08-31 06:19:51 +00:00
package.json chore: update versions (#9168) 2024-09-06 09:10:25 +08:00
README.md

@gradio/dataframe

<script>
    import { BaseDataFrame, BaseExample } from "@gradio/dataframe";
</script>

BaseDataFrame

	export let datatype: Datatype | Datatype[];
	export let label: string | null = null;
	export let headers: Headers = [];
	let values: (string | number)[][];
	export let value: { data: Data; headers: Headers; metadata: Metadata } | null;
	export let col_count: [number, "fixed" | "dynamic"];
	export let row_count: [number, "fixed" | "dynamic"];
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];

	export let editable = true;
	export let wrap = false;
	export let root: string;
	export let i18n: I18nFormatter;

	export let height = 500;
	export let line_breaks = true;
	export let column_widths: string[] = [];

BaseExample

	export let gradio: Gradio;
	export let value: (string | number)[][] | string;
	export let type: "gallery" | "table";
	export let selected = false;
	export let index: number;