import{j as m}from"./styled-6f3628cf.js";import{I as a}from"./Input-1137ef86.js";import"./emotion-use-insertion-effect-with-fallbacks.browser.esm-e1338cfd.js";import"./index-8ee6c85d.js";import"./_commonjsHelpers-de833af9.js";import"./formControlState-a1fb9590.js";import"./useFormControl-67bfd31d.js";import"./utils-a73c94d0.js";import"./useForkRef-8c462693.js";import"./useEnhancedEffect-07c97f1c.js";import"./ownerWindow-698471fc.js";import"./ownerDocument-613eb639.js";import"./isHostComponent-73d6e646.js";const O={title:"Inputs/Input",component:a,parameters:{layout:"centered",controls:{exclude:["options","renderInput"]}},decorators:[],argTypes:{disabled:{control:"boolean"},error:{control:"boolean"},size:{control:"select",options:["small","medium","large"]}},args:{disabled:!1,error:!1,size:"small",defaultValue:"Owner",placeholder:"Placeholder"}},e={render:({size:s,disabled:l,defaultValue:n,placeholder:p,error:d,...i})=>m(a,{size:s,disabled:l,defaultValue:n,placeholder:p,error:d,...i})};var r,o,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
  render: ({
    size,
    disabled,
    defaultValue,
    placeholder,
    error,
    ...props
  }) => {
    return <Input size={size} disabled={disabled} defaultValue={defaultValue} placeholder={placeholder} error={error} {...props} />;
  }
}`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const _=["Basic"];export{e as Basic,_ as __namedExportsOrder,O as default};
