passing props to all children component in react code example
Example: class component params in react
<input
type= "text"
value={ this.state.value || "" }
placeholder="Enter Name"
/>
<input
type= "text"
value={ this.state.value || "" }
placeholder="Enter Name"
/>