mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
* changes * revert * add changeset * changes * add changeset * fix conflicts with random hash * pass a string to anchor_links --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: aliabd <ali.si3luwa@gmail.com>
19 lines
366 B
Svelte
19 lines
366 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;
|
|
export let anchor_links = false;
|
|
</script>
|
|
|
|
<ParamViewer docs={value} {linkify} {header} {anchor_links} />
|