Skip to content

Commit 5f26782

Browse files
committed
The NextJS module added and the error in index.js solved.
1 parent 5269fac commit 5f26782

File tree

6 files changed

+7
-829
lines changed

6 files changed

+7
-829
lines changed

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
.next

example/imports/rsg-components.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/imports/rsg-components.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"dependencies": {
1010
"aphrodite-jss": "^1.1.1",
1111
"lodash": "^4.17.4",
12+
"next": "^5.0.0",
1213
"react": "^16.2.0",
1314
"react-dom": "^16.2.0"
1415
},

example/pages/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export default class Index extends Component {
3636
super()
3737
this.state = { username: '', password: '', checked: false }
3838
}
39-
40-
render = () => {
39+
render () {
4140
const string = `Username in state: ${this.state.username}
4241
Password in state: ${this.state.password}
4342
Is RSGCheckbox checked: ${this.state.checked}`

0 commit comments

Comments
 (0)