gradio/js/paramviewer/Index.svelte
pngwn 3a944ed9f1
add autodocs (#7030)
* add autodocs

* remove unused code

* add changeset

* fix all of the things

* fix all of the things

* add changeset

* fix things

* tewak

* fix dep

* add ruff as dep with min version

* make output pretty + fix bugs

* tweaks

* fixes

* fix types maybe

* fix arg refs

* fix test

* fix md

* add error for version

* fix test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-18 20:47:01 +00:00

17 lines
266 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[] = [];
</script>
<ParamViewer docs={value} {linkify} />