gradio/js/textbox/TextboxExample.stories.svelte

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

25 lines
376 B
Svelte
Raw Normal View History

<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import Textbox from "./Example.svelte";
</script>
<Meta title="Components/Textbox/Example" component={Textbox} />
<Template let:args>
<Textbox {...args} />
</Template>
<Story
name="Text value"
args={{
value: "the quick brown fox"
}}
/>
<Story
name="Null"
args={{
value: null
}}
/>