Update index.js (#282)

Changed the way PropTypes is imported to fix warning in react native 0.25.
This commit is contained in:
Tom 2016-05-10 20:03:06 +02:00 committed by Zack Story
parent 347d04e843
commit f9137824a0

View File

@ -1,9 +1,8 @@
import React, { Component } from 'react'; import React, { Component, PropTypes } from 'react';
import { import {
NativeAppEventEmitter, NativeAppEventEmitter,
NativeModules, NativeModules,
Platform, Platform,
PropTypes,
StyleSheet, StyleSheet,
requireNativeComponent, requireNativeComponent,
View, View,