-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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:
import { RatingInput } from 'react-native-stock-star-rating';
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.
Metadata
Metadata
Assignees
Labels
No labels