Skip to content

Commit 15fac4d

Browse files
Merge pull request #29 from martynovs/patch-1
Use PropTypes from 'prop-types' instead of 'react'.
2 parents c8410ef + 062888b commit 15fac4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {PropTypes} from 'react';
1+
import PropTypes from 'prop-types';
22

33
export const getDisplayName = (C) => C.displayName || C.name || 'Component';
44

0 commit comments

Comments
 (0)