Anvil/assets/Button.stories-87782363.js
André Jaenisch d68288c44d
Updates
2024-02-12 12:40:14 +01:00

20 lines
1.5 KiB
JavaScript

import{B as b}from"./Button-d8693ca6.js";import"./index-788dbe18.js";import"./lifecycle-e76756ca.js";const x={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 f=["Primary","Secondary","Large","Small"];export{a as Large,r as Primary,e as Secondary,o as Small,f as __namedExportsOrder,x as default};