Skip to content

Commit

Permalink
Merge pull request #2 from gronda-team/hotfix/removed-deprecated-types
Browse files Browse the repository at this point in the history
Removed deprecated type
  • Loading branch information
Anderson Andrade authored Jul 11, 2024
2 parents a5cb265 + 8cffefe commit 8e9311f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import ReactNative, {
View,
ScrollView,
Dimensions,
Platform,
ViewPropTypes
Platform
} from 'react-native';
import PropTypes from 'prop-types';

Expand All @@ -18,7 +17,7 @@ const deviceHeight = Dimensions.get('window').height;
export default class ScrollPicker extends Component {

static propTypes = {
style:ViewPropTypes.style,
style:PropTypes.object,
dataSource:PropTypes.array.isRequired,
selectedIndex:PropTypes.number,
onValueChange:PropTypes.func,
Expand Down

0 comments on commit 8e9311f

Please sign in to comment.