gradio/js/tabitem/static/StaticTabItem.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
283 B
Svelte
Raw Normal View History

2022-03-12 00:00:48 +08:00
<script lang="ts">
import TabItem from "./TabItem.svelte";
2022-03-12 00:00:48 +08:00
export let elem_id = "";
export let elem_classes: string[] = [];
2022-03-12 00:00:48 +08:00
export let label: string;
export let id: string | number;
2022-03-12 00:00:48 +08:00
</script>
<TabItem {elem_id} {elem_classes} name={label} {id} on:select>
2022-03-12 00:00:48 +08:00
<slot />
</TabItem>