File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import * as Modifiers from './modifiers';
9
9
export default function baseComponent ( usePure ) {
10
10
const parent = usePure ? React . PureComponent : React . Component ;
11
11
class BaseComponent extends parent {
12
- static propTypes = {
13
- ..._ . mapValues ( Typography , ( ) => PropTypes . bool ) ,
14
- ..._ . mapValues ( Colors , ( ) => PropTypes . bool ) ,
15
- useNativeDriver : PropTypes . bool ,
16
- } ;
12
+ // static propTypes = {
13
+ // ..._.mapValues(Typography, () => PropTypes.bool),
14
+ // ..._.mapValues(Colors, () => PropTypes.bool),
15
+ // useNativeDriver: PropTypes.bool,
16
+ // };
17
17
18
18
static extractOwnProps = Modifiers . extractOwnProps ;
19
19
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default class BaseInput extends BaseComponent {
9
9
static displayName = 'BaseInput' ;
10
10
static propTypes = {
11
11
...RNTextInput . propTypes ,
12
- ...BaseComponent . propTypes ,
12
+ // ...BaseComponent.propTypes,
13
13
/**
14
14
* text color
15
15
*/
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default class Text extends PureBaseComponent {
13
13
static displayName = 'Text' ;
14
14
static propTypes = {
15
15
...RNText . propTypes ,
16
- ...PureBaseComponent . propTypes ,
16
+ // ...PureBaseComponent.propTypes,
17
17
/**
18
18
* color of the text
19
19
*/
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class View extends PureComponent {
15
15
16
16
static propTypes = {
17
17
...ViewPropTypes ,
18
- ...BaseComponent . propTypes ,
18
+ // ...BaseComponent.propTypes,
19
19
/**
20
20
* If true, will render as SafeAreaView
21
21
*/
You can’t perform that action at this time.
0 commit comments