Skip to content

Commit

Permalink
chore: change from default export to regular export (#16)
Browse files Browse the repository at this point in the history
chore: change from default export to regular export
  • Loading branch information
Naturalclar authored Jan 23, 2020
2 parents 2a0ff7e + b5761e1 commit f1ee7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ react-native link @react-native-community/progress-view
## Usage

```javascript
import ProgressView from "@react-native-community/progress-view";
import {ProgressView} from "@react-native-community/progress-view";
```

## Reference
Expand Down
7 changes: 1 addition & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@

import { NativeModules } from 'react-native';

const { RNCProgressView } = NativeModules;

export default RNCProgressView;
export {default as ProgressView} from './js/ProgressViewIOS';

0 comments on commit f1ee7ef

Please sign in to comment.