diff --git a/README.md b/README.md index 2dfd873..68c21f2 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ Also refer to the [`example`](https://github.com/Monte9/react-native-ratings/tre | starContainerStyle | none | object or stylesheet | Custom styles applied to the star container | | ratingContainerStyle | none | object or stylesheet | Custom styles applied to the rating container | | starImage | STAR_IMAGE | string | Pass in a custom base image source (optional) | +| starStyle | none | object or stylesheet | Custom styles applied to the star (optional) | ### RatingProps diff --git a/src/TapRating.tsx b/src/TapRating.tsx index 5cd4e97..ca010b7 100644 --- a/src/TapRating.tsx +++ b/src/TapRating.tsx @@ -102,6 +102,11 @@ export type TapRatingProps = { * Pass in a custom base image source */ starImage?: string; + + /** + * Style for star + */ + starStyle?: StyleProp; }; const TapRating: React.FunctionComponent = (props) => {