Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // index.js Page
- import React from "react";
- import withNavBar from "../src/withNavBar";
- class Index extends React.Component {
- render() {
- return (
- <div>
- <p>Hello Next.js</p>
- </div>
- );
- }
- }
- export default withNavBar(Index);
Add Comment
Please, Sign In to add comment