File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -982,10 +982,9 @@ Object {
982
982
" props" : Object {
983
983
" color" : Object {
984
984
" description" : " " ,
985
- " required" : false ,
985
+ " required" : true ,
986
986
" type" : Object {
987
- " name" : " custom" ,
988
- " raw" : " PropTypes.string.isRequired" ,
987
+ " name" : " string" ,
989
988
},
990
989
},
991
990
" id" : Object {
@@ -996,8 +995,7 @@ Object {
996
995
" description" : " " ,
997
996
" required" : false ,
998
997
" type" : Object {
999
- " name" : " custom" ,
1000
- " raw" : " PropTypes.string" ,
998
+ " name" : " string" ,
1001
999
},
1002
1000
},
1003
1001
},
Original file line number Diff line number Diff line change 1
1
2
2
import React from 'react' ;
3
+ import PropTypes from 'prop-types' ;
3
4
import extendStyles from 'enhancers/extendStyles' ;
4
5
5
6
type Props = $ReadOnly < { |
@@ -19,4 +20,4 @@ ColoredView.defaultProps = {
19
20
id : 'test-forward-ref-default'
20
21
}
21
22
22
- module . exports = extendStyles ( ColoredView ) ;
23
+ module . exports = extendStyles ( ColoredView ) ;
You can’t perform that action at this time.
0 commit comments