Anvil/assets/Button.stories-4d7dc7d6.js

21 lines
1.5 KiB
JavaScript
Raw Normal View History

2024-02-20 15:10:19 +01:00
import{B as b}from"./Button-adcdccd5.js";import"./utils-09ff0c0e.js";import"./lifecycle-0dd9b729.js";import"./index-5c6b3333.js";const f={title:"Example/Button",component:b,tags:["autodocs"],argTypes:{backgroundColor:{control:"color"},size:{control:{type:"select"},options:["small","medium","large"]}}},r={args:{primary:!0,label:"Button"}},e={args:{label:"Button"}},a={args:{size:"large",label:"Button"}},o={args:{size:"small",label:"Button"}};var s,t,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
2024-02-08 10:52:22 +01:00
args: {
primary: true,
label: 'Button'
}
}`,...(n=(t=r.parameters)==null?void 0:t.docs)==null?void 0:n.source}}};var l,c,m;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{
args: {
label: 'Button'
}
}`,...(m=(c=e.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};var p,u,i;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
args: {
size: 'large',
label: 'Button'
}
}`,...(i=(u=a.parameters)==null?void 0:u.docs)==null?void 0:i.source}}};var d,g,B;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
args: {
size: 'small',
label: 'Button'
}
2024-02-17 23:52:33 +01:00
}`,...(B=(g=o.parameters)==null?void 0:g.docs)==null?void 0:B.source}}};const E=["Primary","Secondary","Large","Small"];export{a as Large,r as Primary,e as Secondary,o as Small,E as __namedExportsOrder,f as default};