Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 12e3bfe

Browse files
committed
Fix bad import example
1 parent 516fe60 commit 12e3bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ propTypes: {
1818
```
1919
or
2020
```js
21-
import CustomPropTypes from 'react-prop-types';
21+
import * as CustomPropTypes from 'react-prop-types';
2222
// and then used as usual
2323
propTypes: {
2424
someProp: CustomPropTypes.elementType

0 commit comments

Comments
 (0)