react-native-calendar-strip-slide-navigation
Version:
This is a fork of react-native-calendar-strip updated Slide navigation for selected dates
71 lines (66 loc) • 1.36 kB
JavaScript
/**
* Created by bogdanbegovic on 8/26/16.
*/
import {
StyleSheet
} from 'react-native';
export default StyleSheet.create({
//CALENDAR STYLES
calendarContainer: {
overflow: 'hidden'
},
datesStrip: {
flexDirection: 'row'
},
calendarDates: {
flex: 1,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center'
},
calendarHeader: {
fontSize: 16,
textAlign: 'center',
fontWeight: 'bold',
marginBottom:10,
marginTop:10,
},
iconContainer: {
justifyContent: 'center',
alignItems: 'center'
},
icon: {
width: 20,
height: 20,
resizeMode: 'contain'
},
//CALENDAR DAY
dateContainer: {
justifyContent: 'center',
alignItems: 'center',
padding: 0,
width: 43,
height: 43,
borderRadius: 43 / 2
},
dateName: {
fontSize: 10,
textAlign: 'center'
},
weekendDateName: {
fontSize: 10,
color: '#A7A7A7',
textAlign: 'center'
},
dateNumber: {
fontSize: 18,
fontWeight: 'bold',
textAlign: 'center'
},
weekendDateNumber: {
fontSize: 18,
color: '#A7A7A7',
fontWeight: 'bold',
textAlign: 'center'
}
});