Skip to content

Commit

Permalink
Merge pull request #1 from tomaskazatel/master
Browse files Browse the repository at this point in the history
Change import PropTypes from 'prop-types'
  • Loading branch information
magrinj authored Oct 24, 2017
2 parents 198bb8e + 5e3f532 commit ea3c1da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/NativeButton.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {
Component,
PropTypes,
} from 'react';

import {
Expand All @@ -13,6 +12,8 @@ import {
View,
} from 'react-native';

import PropTypes from 'prop-types';

const styles = StyleSheet.create({
button: {
flexDirection: 'row',
Expand Down
3 changes: 2 additions & 1 deletion components/btn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import NativeButton from './NativeButton';

import React, {
Component,
PropTypes,
} from 'react';

import {
Expand All @@ -13,6 +12,8 @@ import {
View,
} from 'react-native';

import PropTypes from 'prop-types';

const styles = StyleSheet.create({
btn: {
backgroundColor: '#b6bec0',
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Btn from './components/btn';

import React, {
Component,
PropTypes,
} from 'react';

import {
Expand All @@ -12,6 +11,8 @@ import {
View,
} from 'react-native';

import PropTypes from 'prop-types';

const styles = StyleSheet.create({
slideOutContainer: {
position: 'absolute',
Expand Down

0 comments on commit ea3c1da

Please sign in to comment.