mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-05-08 02:39:21 +08:00
[change] use 'prop-types' and 'create-react-class'
Preparation for React 15.5
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import createReactClass from 'create-react-class';
|
||||
import React from 'react';
|
||||
import { storiesOf, action } from '@kadira/storybook';
|
||||
import { ActivityIndicator, StyleSheet, View } from 'react-native'
|
||||
@@ -26,7 +27,7 @@ import TimerMixin from 'react-timer-mixin';
|
||||
* @flow
|
||||
*/
|
||||
|
||||
const ToggleAnimatingActivityIndicator = React.createClass({
|
||||
const ToggleAnimatingActivityIndicator = createReactClass({
|
||||
mixins: [TimerMixin],
|
||||
|
||||
getInitialState() {
|
||||
|
||||
Reference in New Issue
Block a user