Skip to content
Advertisement

I’m using React and my components are not rendered

I’m trying to follow a React tutorial this code should render some buttons, but it isn’t happening. I’m using codepen.io to make the code and I can send the tutorial link if necessary.

JavaScript

Advertisement

Answer

You forgot return your Pad component.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement