Access to props in a React Js without render method

In a functional component you need to pass the props like this

const Component = (props) => {

    return <div>Component Content</div>


Then you can use it like this


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top