import{j as e}from"./jsx-runtime-Dfk2JFgj.js";import{r as c}from"./index-CWN_QRa1.js";import{s as i}from"./index-DNsi8NHw.js";import{B as x}from"./index-CIVavKlu.js";import"./CheckGroup-BpaEcK_0.js";import"./index-Cj3pldWQ.js";import"./index-DgIb9kCw.js";import"./index-DllfNvuz.js";import"./index-6WYjB5r3.js";import"./DefaultPropsProvider-BPu7lNPC.js";import"./index-Bk93qgka.js";import"./index-DnVHLn3F.js";import"./v4-CtRu48qb.js";import"./tiny-invariant-CopsF_GD.js";import"./iframe-BT4Dhm0c.js";const R={title:"Components/LinearProgress",component:i},u=()=>{const[o,m]=c.useState(!1);return e.jsxs("div",{style:{width:"230px",height:"280px",border:"1px solid #e2e2e2",borderRadius:"5px"},children:[o&&e.jsx(i,{}),e.jsx("div",{style:{display:"flex",justifyContent:"center",marginTop:"200px"},children:e.jsx(x,{onClick:()=>m(!o),children:o?"finish_upload":"upload"})})]})},g=()=>e.jsx("div",{style:{width:"500px",height:"100px"},children:e.jsx(i,{})}),r=u.bind({}),n=g.bind({});var s,t,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`() => {
  const [loading, setLoading] = useState(false);
  return <div style={{
    width: "230px",
    height: "280px",
    border: "1px solid #e2e2e2",
    borderRadius: "5px"
  }}>
      {loading && <LinearProgress />}

      <div style={{
      display: "flex",
      justifyContent: "center",
      marginTop: "200px"
    }}>
        <Button onClick={() => setLoading(!loading)}>
          {loading ? "finish_upload" : "upload"}
        </Button>
      </div>
    </div>;
}`,...(a=(t=r.parameters)==null?void 0:t.docs)==null?void 0:a.source}}};var d,p,l;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`() => {
  return <div style={{
    width: "500px",
    height: "100px"
  }}>
      <LinearProgress />
    </div>;
}`,...(l=(p=n.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};const k=["InsideCard","SimpleLoading"];export{r as InsideCard,n as SimpleLoading,k as __namedExportsOrder,R as default};
