Closed matthewwo closed 3 years ago
Thanks @prankymat for this fix. A couple notes:
headerText
is set internally with a default if not provided. Adding it to defaultProps prevents localizations from occurring properly:
https://github.com/BugiDev/react-native-calendar-strip/blob/f659b96845888f480a06e200c33827ac39109507/src/CalendarHeader.js#L82
The ref
prop is internal to React and should not be added to the props list in CalendarStrip.js. I've never seen a project include that in its props list. It should be fine adding it to the TS definition.
thanks for the comments! i'll remove the changes from the js file.
Thanks @prankymat This will be included in the next release
Addressing #252, sorry as I'm fairly new to TS, please correct me if I'm not using the props / defining it correctly. 😄