File tree Expand file tree Collapse file tree 4 files changed +1097
-5
lines changed
Expand file tree Collapse file tree 4 files changed +1097
-5
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 ,
1314 y : PropTypes . number ,
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- "react-timer-mixin" : " ^0.13.3" ,
40- "prop-types" : " ^15.5.10"
39+ "create-react-class" : " ^15.6.0" ,
40+ "prop-types" : " ^15.5.10" ,
41+ "react-timer-mixin" : " ^0.13.3"
4142 },
4243 "devDependencies" : {
4344 "babel-eslint" : " ^6.0.4" ,
You can’t perform that action at this time.
0 commit comments