Skip to content

Commit

Permalink
Merge pull request #4 from daisaru11/support_react_15_5
Browse files Browse the repository at this point in the history
Support React v15.5+
  • Loading branch information
alexnd authored Jul 31, 2018
2 parents 55e3aa3 + 585027c commit 47bf950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import { PropTypes } from 'react';
import PropTypes from 'prop-types';
import { requireNativeComponent, View } from 'react-native';

module.exports = requireNativeComponent('RNTBgImage', {
Expand All @@ -9,4 +9,4 @@ module.exports = requireNativeComponent('RNTBgImage', {
drawable: PropTypes.string,
...View.propTypes // include the default view properties
}
});
});

0 comments on commit 47bf950

Please sign in to comment.