import{jsx as _jsx}from"react/jsx-runtime";import"./CtrlText.scss";export default function CtrlText({currMod:t,updatePath:e,prop:r,value:a,inheritVal:l,deleteProp:u,updateProps:p}){return _jsx("input",{className:"ctrl-text__input-field ",type:"text",placeholder:l?a:"",value:l?"":a,onChange:r=>{r.target.value&&r.target.value.trim().length>0?p(t.id,e,r.target.value):u(e)}},t.id+e)}