gradio/js/multimodaltextbox/MultimodalTextboxExample.stories.svelte

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

28 lines
465 B
Svelte
Raw Normal View History

<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import MultimodalTextbox from "./Example.svelte";
</script>
<Meta
title="Components/MultimodalTextbox/Example"
component={MultimodalTextbox}
/>
<Template let:args>
<MultimodalTextbox {...args} />
</Template>
<Story
name="Text value"
args={{
value: { text: "the quick brown fox", files: [] }
}}
/>
<Story
name="Empty Value"
args={{
value: { text: "", files: [] }
}}
/>