[change] use 'prop-types' and 'create-react-class'

Preparation for React 15.5
This commit is contained in:
Nicolas Gallagher
2017-04-11 22:20:31 -07:00
parent 941c628445
commit 170bab659d
44 changed files with 290 additions and 245 deletions
@@ -1,5 +1,6 @@
'use strict';
import createReactClass from 'create-react-class';
import { storiesOf, action } from '@kadira/storybook';
var React = require('react');
@@ -12,7 +13,7 @@ var {
var CIRCLE_SIZE = 80;
var PanResponderExample = React.createClass({
var PanResponderExample = createReactClass({
_panResponder: {},
_previousLeft: 0,
_previousTop: 0,