Skip to content

Commit

Permalink
use default
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Jun 15, 2016
1 parent 30975fe commit 1029eef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/react-native/picker.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {Component, View, TouchableHighlight, AppRegistry, StyleSheet, Text} from 'react-native';
import { Picker } from '../../src/index.ios';
import Picker from '../../src/index.ios';

let count = 0;
const len = 10;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rmc-picker",
"version": "3.0.0",
"version": "3.0.1",
"description": "React Mobile Picker Component(web and react-native)",
"keywords": [
"react",
Expand Down Expand Up @@ -60,7 +60,7 @@
"rn-core": "~0.3.0",
"rn-packager": "~0.3.0"
},
"typings": "./lib/index",
"typings": "./lib/index.web.d.ts",
"pre-commit": [
"lint"
]
Expand Down
2 changes: 1 addition & 1 deletion src/index.android.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default as Picker } from './Picker.android';
export { default } from './Picker.android';
export { default as Popup } from './Popup.android';
export { default as PopupStyles } from './PopupStyles.android';
2 changes: 1 addition & 1 deletion src/index.ios.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default as Picker } from './Picker.ios';
export { default } from './Picker.ios';
export { default as Popup } from './Popup.ios';
export { default as PopupStyles } from './PopupStyles.ios';

0 comments on commit 1029eef

Please sign in to comment.