As https://facebook.github.io/react/docs/typechecking-with-proptypes.html says, React.PropTypes have moved into the npm package prop-types since React v15.5. I've already failed to update certain devDependencies because they mandate the use of prop-types so I'd rather we (gradually at least) move to prop-types rather than face a lot of work later on.j8
|
|
||
51 |
|
51 |
|
52 |
|
52 |
|
53 |
|
53 |
|
|
54 |
|
|
54 |
|
55 |
|
55 |
|
56 |
|
56 |
|
57 |
|
|
|
||
|
1 |
|
|
1 |
|
2 |
|
2 |
|
3 |
|
3 |
|
4 |
|
|
|
||
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
42 |
|
42 |
|
|
|
|
43 |
|
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
46 |
|
47 |
|
47 |
|
|
|
|
48 |
|
|
48 |
|
49 |
|
49 |
|
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
55 |
|
56 |
|
56 |
|
57 |
|
57 |
|
58 |
|