import{j as h}from"./vendor-ClLR6ncd.js";import{T as x}from"./index-OtVJl4GC.js";import{u as I}from"./useDirtyStateInput-CLFyv7KP.js";const S={width:"300px"};function j({label:t,placeholder:r,onKeyUp:e,onKeyDown:s,sx:n=S,searchInput:p,setSearchInput:u,autoFocus:a=!1,error:i,debounceTime:o}){const[c,m]=I({input:p,setInput:u,debounceTime:o});return h.jsx(x,{error:i,autoFocus:a,sx:n,setter:m,value:c,placeholder:r,label:t,onKeyUp:e,onKeyDown:s})}export{j as D};
