import{dq as r,dm as s}from"./index-DjbVAZHL.js";const m=r.memo(e=>{const{label:l,detail:t,onChange:a,onBlur:n,...i}=e;return s.jsxs("fieldset",{className:"fieldset",children:[l&&s.jsxs("legend",{className:"fieldset-legend",children:[l,e.required?" *":""]}),s.jsx("input",{className:`input min-w-xs ${e.pattern||e.required?"validator":""}`,onChange:a,onBlur:n,...i}),t&&s.jsx("p",{className:"label",children:t})]})});export{m as I};
