![I want to pass props of a component to another and Props need to be dynamic depending on which button is clicked. I have created an illustration to ask question properly. Thanks : I want to pass props of a component to another and Props need to be dynamic depending on which button is clicked. I have created an illustration to ask question properly. Thanks :](https://i.redd.it/ynkskwokjhd91.jpg)
I want to pass props of a component to another and Props need to be dynamic depending on which button is clicked. I have created an illustration to ask question properly. Thanks :
![reactjs - When passing a prop into a class component my IntelliJ linter will not recognize this.props.propName - Stack Overflow reactjs - When passing a prop into a class component my IntelliJ linter will not recognize this.props.propName - Stack Overflow](https://i.stack.imgur.com/zLXTG.png)
reactjs - When passing a prop into a class component my IntelliJ linter will not recognize this.props.propName - Stack Overflow
How to pass props to components when you use <Route components={{}} /> attribute ? · Issue #4105 · remix-run/react-router · GitHub
![I want to pass props of a component to another and Props need to be dynamic depending on which button is clicked. I have created an illustration to ask question properly. Thanks : I want to pass props of a component to another and Props need to be dynamic depending on which button is clicked. I have created an illustration to ask question properly. Thanks :](https://preview.redd.it/i-want-to-pass-props-of-a-component-to-another-and-props-v0-ynkskwokjhd91.jpg?width=640&crop=smart&auto=webp&s=5d261cfed17eff0409853a49431c5593f8034af1)