mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
b736c8db34
* changes * changes * revert demo change * add changeset * changes * format * fixes * param viewer * update demo * add changeset * docstrings --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
18 lines
317 B
Svelte
18 lines
317 B
Svelte
<script lang="ts">
|
|
import ParamViewer from "./ParamViewer.svelte";
|
|
|
|
export let value: Record<
|
|
string,
|
|
{
|
|
type: string;
|
|
description: string;
|
|
default: string;
|
|
}
|
|
>;
|
|
|
|
export let linkify: string[] = [];
|
|
export let header: string | null = null;
|
|
</script>
|
|
|
|
<ParamViewer docs={value} {linkify} {header} />
|