diff --git a/types/react-native-star-rating/index.d.ts b/types/react-native-star-rating/index.d.ts index a26002bf88..788a13d863 100644 --- a/types/react-native-star-rating/index.d.ts +++ b/types/react-native-star-rating/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-native-star-rating 1.0 +// Type definitions for react-native-star-rating 1.1 // Project: https://github.com/djchie/react-native-star-rating // Definitions by: iRoachie // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -8,6 +8,11 @@ import * as React from 'react'; import { ImageURISource, StyleProp, ViewStyle } from 'react-native'; export interface StarRatingProps { + /** + * Number between 0 to 1 to determine the opacity of the button. + * Default is 0.2 + */ + activeOpacity?: number; /** * Style of the button containing the star. */