Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---- js ----
- class ComponenteExemplo extends React.Component {
- constructor(props) {
- super(props);
- }
- render() {
- return <div>Exemplo</div>;
- }
- }
- ReactDOM.render(
- <div>
- <Exemplo />
- <Exemplo />
- </div>,
- document.getElementById('root')
- );
- --------------
- ----html-------
- <div id="root"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement