How to create custom input component

how to create custom component like we create in react and pass props to it ,
like in case of input tag we can pass dynamic label or placeholder

give your custom input a state for label and placeholder, change those states when you need "Element actions > set state.