rghorbani / react-native-general-calendars

React Native Calendar Components 📆

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

null is not an object

ZahraShams opened this issue · comments

installed library with react-native 61.2 , and userd sample
but gets error

below is the code

import * as React from 'react';
import { View, TouchableOpacity, Image, Text, StyleSheet } from 'react-native';
import { Calendar, CalendarList, Agenda } from 'react-native-general-calendars';

class App extends React.Component {
constructor() {
super()

}

render() {
return (



);
}
}
export default App;
const styles = StyleSheet.create({
container: {
flex: 1,
marginTop: 40,
},
});