File size: 492 Bytes
0bd62e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
<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: [] }
}}
/>
|