We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad49afc commit e8b3daaCopy full SHA for e8b3daa
1 file changed
README.md
@@ -71,6 +71,16 @@ const props = {
71
<ReactCodeInput type='number' fields={6} {...props}/>
72
...
73
```
74
+### Usage with next.js
75
+```js
76
+import dynamic from 'next/dynamic';
77
+
78
+const ReactCodeInput = dynamic(import('react-code-input'));
79
+...
80
+<ReactCodeInput type='number' fields={6} {...props}/>
81
82
+```
83
84
## Props:
85
86
| Property | Type | Description |
@@ -97,5 +107,7 @@ const props = {
97
107
## Compatible with
98
108
[`redux-form`](https://github.com/erikras/redux-form) from [erikras](https://github.com/erikras)
99
109
110
+[`next.js`](https://github.com/zeit/next.js) from [zeit](https://github.com/zeit)
111
100
112
## License
101
113
MIT
0 commit comments