Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splits react-native and react to avoid warnings on >= 0.25 #29

Merged
merged 1 commit into from
May 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/radio-buttons.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
'use strict';
var React = require('react-native');
var React = require('react');
var ReactNative = require('react-native');

const {
Text,
TouchableWithoutFeedback,
View,
} = React;
} = ReactNative;

const propTypes = {
options: React.PropTypes.array.isRequired,
Expand Down
5 changes: 3 additions & 2 deletions lib/segmented-controls.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
'use strict';
import React from 'react-native';
import React from 'react';
import ReactNative from 'react-native';
import RadioButtons from './';

const {
Text,
TouchableWithoutFeedback,
View,
Platform
} = React;
} = ReactNative;

class SegmentedControls extends React.Component {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "[email protected]:ArnaudRinquin/react-native-radio-buttons.git"
},
"peerDependencies": {
"react-native": ">=0.8.0"
"react-native": ">=0.25.0"
},
"keywords": [
"react-component",
Expand Down