By Manish Arora
Props as like Properties it can read only components.
it's like object where we can stores the value of attributes of a tag and work as like HTML attributes
props gives a way to pass data from one components to another components.
function FirstComponent(props){ return( <div> <h2>Hello {props.user}</h2> <h3>Welcome to GeeksforGeeks</h3> </div> ); } ReactDOM.render( FirstComponent user = "Manish Arora" />, document.getElementById("root") );