maggialejandro/react-native-calendario

1.0.0 renders as undefined

tapz opened this issue · 1 comments

tapz commented

1.0.0 renders as undefined, but 0.6.0 works. Due to this with 1.0.0 the app crashes with an error that the rendered is not an object nor a string, but undefined. I have the Calendar component inside a ScrollView container.

Hi @tapz
Version 1.0.0 introduced a breaking change
Now you need to import Calendar like this

import { Calendar, DayType, ThemeType } from 'react-native-calendario';

Sorry about that