D
D
Daniel Chistyakov2021-01-13 21:43:23
React
Daniel Chistyakov, 2021-01-13 21:43:23

How to change content in block on click on link change content in React?

On the left there are links, on the right there is a block in which content should be displayed depending on a click on a specific link from the left column.
The solution should be for React, thanks in advance.
There is a feeling that you need to dig in the direction of props, but so far I don’t really understand how to do this from the side of logic and code.
5fff3eb49d4d9204877947.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2021-01-13
@danielchistyakov

Try to put the onClick={Func} attribute and Fuck will change the content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question