how to put on or below components react code example
Example 1: create-react-app class component
npx create-react-app my-app --scripts-version react-scripts@2.1.7
Example 2: class component params in react
<input
type= "text"
value={ this.state.value || "" }
placeholder="Enter Name"
/>