Skip to content

Commit d4a6312

Browse files
author
Rishabh
committed
updating readme
1 parent 0b8d10e commit d4a6312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ npm install react-native-rating-element
1313
## Usage
1414

1515
```javascript
16-
import Rating from "react-native-rating-element";
16+
import { Rating } from "react-native-rating-element";
1717

1818
<Rating
1919
rated={3.7}
2020
totalCount={5}
2121
ratingColor="#b5121b"
2222
ratingBackgroundColor="#c8c7c8"
23-
size={12}
23+
size={24}
2424
icon="ios-star"
2525
/>
2626
```

0 commit comments

Comments
 (0)