I’m learning reactjs and I came across a small problem:
I have an AppBar (material UI component) and I wanted it so that when I clicked on the buttons in each section, the page would scroll to the clicked section.
How can I do this?My page “Home.tsx”
my component”NavBar.tsx”
I looked in tutorial videos and documentation, but I didn’t find anything that helped me.
New contributor
Amanda Skraba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.