passing props into component 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"
/>