20 lines
1.5 KiB
JavaScript
20 lines
1.5 KiB
JavaScript
import{B as b}from"./Button-5254db0b.js";import"./utils-09ff0c0e.js";import"./lifecycle-9898a056.js";import"./index-d94d5794.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:`{
|
|
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'
|
|
}
|
|
}`,...(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};
|