mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 17:58:20 +00:00
Update index.js (#282)
Changed the way PropTypes is imported to fix warning in react native 0.25.
This commit is contained in:
parent
347d04e843
commit
f9137824a0
3
index.js
3
index.js
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user