--- title: Props --- ### What are the props? Props (short for properties) are the data or functions passed into a component. They are immutable (read-only). To illustrate how props are used in components, see the following example: ```javascript const props = { name: "john", age: 33, country: "Canada" }; const PropTest = (props) => { return(
); }; ReactDOM.render(
, mountNode ); ``` The props are created in the props constant object and then used as inputs in the component and then passed and rendered in the ReactDOM.