24ark / react-native-step-indicator

A simple react-native implementation of step indicator widget compatible with the ViewPager and ListView.
Apache License 2.0
1.43k stars 312 forks source link

Added renderStepIndicator type definition #63

Closed Lecss closed 5 years ago

Lecss commented 5 years ago

Typescript compilation errors when using renderStepIndicator due to missing type for the prop:

error TS2339: Property 'renderStepIndicator' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<StepIndicator> & Readonly<{ children?: ReactNode; ...'.

Lecss commented 5 years ago

@24ark is this project still being maintained? What is the best way to review/merge this pull request? Thanks

24ark commented 5 years ago

@Lecss I have released v0.0.10 and this includes the changes added in this PR