File tree Expand file tree Collapse file tree 4 files changed +1095
-3
lines changed
Expand file tree Collapse file tree 4 files changed +1095
-3
lines changed Original file line number Diff line number Diff line change 11/* @flow */
22
33import React from 'react'
4+ import createReactClass from 'create-react-class'
45import { ListView } from 'react-native'
56import PropTypes from 'prop-types'
67import KeyboardAwareMixin from './KeyboardAwareMixin'
78
8- const KeyboardAwareListView = React . createClass ( {
9+ const KeyboardAwareListView = createReactClass ( {
910 propTypes : {
10- viewIsInsideTabBar : React . PropTypes . bool ,
11+ viewIsInsideTabBar : PropTypes . bool ,
1112 resetScrollToCoords : PropTypes . shape ( {
1213 x : PropTypes . number . isRequired ,
1314 y : PropTypes . number . isRequired ,
Original file line number Diff line number Diff line change 11/* @flow */
22
33import React from 'react'
4+ import createReactClass from 'create-react-class'
45import { ScrollView } from 'react-native'
56import PropTypes from 'prop-types'
67import KeyboardAwareMixin from './KeyboardAwareMixin'
78
8- const KeyboardAwareScrollView = React . createClass ( {
9+ const KeyboardAwareScrollView = createReactClass ( {
910 propTypes : {
1011 ...ScrollView . propTypes ,
1112 viewIsInsideTabBar : PropTypes . bool ,
Original file line number Diff line number Diff line change 3636 },
3737 "homepage" : " https://github.com/APSL/react-native-keyboard-aware-scroll-view#readme" ,
3838 "dependencies" : {
39+ "create-react-class" : " ^15.6.0" ,
3940 "prop-types" : " ^15.5.10" ,
4041 "react-timer-mixin" : " ^0.13.3"
4142 },
You can’t perform that action at this time.
0 commit comments