CalendarPicker
CalendarPicker copied to clipboard
Files in NPM package have .js extension, but contain jsx code.
My build system is giving me the below error, which I assume is because the file contains JSX code (which is invalid JS). Maybe there are other ways, but I think typically the published package would contain compiled code (perhaps compiled to commonjs format).
ERROR in ../../node_modules/react-native-calendar-picker/CalendarPicker/index.js 444:6
Module parse failed: Unexpected token (444:6)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| renderMonth(props) {
| return (
> <DaysGridView {...props} />
| );
| }
This issue is still present
Thanks for noting the issue. This is an older library and needs maintenance. Please submit a PR.