You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current type definitions in index.d.ts are incomplete, causing TypeScript errors when trying to use components. For example, when trying to import RatingInput:
This produces the error:
Module "react-native-stock-star-rating" has no exported member 'RatingInput'
The current type definitions only include the RatingProps interface but don't declare the actual component exports. I propose adding complete type declarations for all exported components including Rating, RatingInput, FilledStar, and EmptyStar.
I'm happy to submit a pull request with these improvements if this approach sounds good.
The text was updated successfully, but these errors were encountered:
The current type definitions in index.d.ts are incomplete, causing TypeScript errors when trying to use components. For example, when trying to import RatingInput:
This produces the error:
Module "react-native-stock-star-rating" has no exported member 'RatingInput'
The current type definitions only include the RatingProps interface but don't declare the actual component exports. I propose adding complete type declarations for all exported components including Rating, RatingInput, FilledStar, and EmptyStar.
I'm happy to submit a pull request with these improvements if this approach sounds good.
The text was updated successfully, but these errors were encountered: