gradio/js/code
pngwn 1459119c6e
chore: update versions (#6670)
* chore: update versions

* change

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ali Abid <ubuntu@ip-172-31-25-241.us-west-2.compute.internal>
2023-12-12 18:32:54 -08:00
..
shared Lite v4 (#6398) 2023-12-12 22:10:16 +00:00
CHANGELOG.md chore: update versions (#6670) 2023-12-12 18:32:54 -08:00
Example.svelte Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
Index.svelte Textbox and Code Component Blur/Focus Fixes (#6323) 2023-11-09 19:20:54 -05:00
package.json chore: update versions (#6670) 2023-12-12 18:32:54 -08:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/code

<script>
    import { BaseCode, BaseCopy, BaseDownload, BaseWidget, BaseExample} from "gradio/code";
</script>

BaseCode

	export let classNames = "";
	export let value = "";
	export let dark_mode: boolean;

	export let basic = true;
	export let language: string;
	export let lines = 5;
	export let extensions: Extension[] = [];

	export let useTab = true;

	export let readonly = false;
	export let placeholder: string | HTMLElement | null | undefined = undefined;

BaseCopy

	export let value: string;

BaseDownload

	export let value: string;
	export let language: string;

BaseWidget

	export let value: string;
	export let language: string;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;