Skip to content

Commit f1ee7ef

Browse files
authored
chore: change from default export to regular export (#16)
chore: change from default export to regular export
2 parents 2a0ff7e + b5761e1 commit f1ee7ef

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $ react-native link @react-native-community/progress-view
5353
## Usage
5454

5555
```javascript
56-
import ProgressView from "@react-native-community/progress-view";
56+
import {ProgressView} from "@react-native-community/progress-view";
5757
```
5858

5959
## Reference

index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
2-
import { NativeModules } from 'react-native';
3-
4-
const { RNCProgressView } = NativeModules;
5-
6-
export default RNCProgressView;
1+
export {default as ProgressView} from './js/ProgressViewIOS';

0 commit comments

Comments
 (0)