You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Aug 24, 2017, at 12:33 PM, Pav Sidhu ***@***.***> wrote:
I've also noticed that the calendar doesn't show sometimes when you swipe between different months.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
But it does display the calendar when moving to next month back and forth.
import Calendar from 'react-native-calendar';
import moment from 'moment';
const customDayHeadings = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
const customMonthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'May',
'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
class CalendarScreen extends Component {
constructor(props) {
super(props);
this.state = {
selectedDate: moment().format(),
};
}
// const ChatScreen = ({ label, value, onChangeText, placeholder, secureTextEntry }) => {
// const { inputStyle, labelStyle, containerStyle } = styles;
static navigationOptions = ({ navigation }) => ({
title:
${navigation.state.params.user}
,});
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 20,
backgroundColor: '#f7f7f7',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});
const mapStateToProps = (state) => {
// bal bla bla
};
export default connect(mapStateToProps, { propertyUpdate, propertySave })(CalendarScreen);
// export default ChatScreen;
//
The text was updated successfully, but these errors were encountered: