Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/affix/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import { Animated } from 'react-native';
import { Animated, ViewPropTypes } from 'react-native';

import styles from './styles';

Expand All @@ -11,7 +11,7 @@ export default class Affix extends PureComponent {

static propTypes = {
numberOfLines: PropTypes.number,
style: Animated.Text.propTypes.style,
style: PropTypes.any,

color: PropTypes.string.isRequired,
fontSize: PropTypes.number.isRequired,
Expand Down
4 changes: 2 additions & 2 deletions src/components/helper/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import { Animated } from 'react-native';
import { Animated, ViewPropTypes } from 'react-native';

import styles from './styles';

Expand All @@ -11,7 +11,7 @@ export default class Helper extends PureComponent {

disabled: PropTypes.bool,

style: Animated.Text.propTypes.style,
style: PropTypes.any,

baseColor: PropTypes.string,
errorColor: PropTypes.string,
Expand Down
4 changes: 2 additions & 2 deletions src/components/label/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import { Animated } from 'react-native';
import { Animated, ViewPropTypes } from 'react-native';

import styles from './styles';

Expand Down Expand Up @@ -43,7 +43,7 @@ export default class Label extends PureComponent {
y1: PropTypes.number,
}),

style: Animated.Text.propTypes.style,
style: PropTypes.any,
label: PropTypes.string,
};

Expand Down