diff --git a/Arrow.js b/Arrow.js index 72ab60f..2c2cb4f 100644 --- a/Arrow.js +++ b/Arrow.js @@ -1,11 +1,11 @@ import React, { - PropTypes, Component, } from 'react' import { StyleSheet, View, } from 'react-native' +import PropTypes from 'prop-types' import * as Utils from './Utils' diff --git a/Circle.js b/Circle.js index f410b67..fed4a45 100644 --- a/Circle.js +++ b/Circle.js @@ -1,11 +1,11 @@ import React, { - PropTypes, Component, } from 'react' import { StyleSheet, View, } from 'react-native' +import PropTypes from 'prop-types' const styles = StyleSheet.create({ container: { diff --git a/GesturePassword.js b/GesturePassword.js index 17ec364..ccdbfd8 100644 --- a/GesturePassword.js +++ b/GesturePassword.js @@ -6,7 +6,6 @@ */ import React, { - PropTypes, Component, } from 'react' import { @@ -17,6 +16,8 @@ import { Text, } from 'react-native' +import PropTypes from 'prop-types' + import * as Utils from './Utils' import Point from './Point' import Line from './Line' diff --git a/Line.js b/Line.js index dd67ffd..ae5bd62 100644 --- a/Line.js +++ b/Line.js @@ -1,11 +1,11 @@ import React, { - PropTypes, Component, } from 'react' import { StyleSheet, View, } from 'react-native' +import PropTypes from 'prop-types' import * as Utils from './Utils' diff --git a/Point.js b/Point.js index 665ebba..4527de8 100644 --- a/Point.js +++ b/Point.js @@ -1,5 +1,4 @@ import React, { - PropTypes, Component, } from 'react' import { @@ -7,6 +6,8 @@ import { View, } from 'react-native' +import PropTypes from 'prop-types' + import Circle from './Circle' export default class Point extends Component { @@ -73,4 +74,4 @@ export default class Point extends Component { ) } -} \ No newline at end of file +}