react-native-week-view-week-index-only
Version:
Week View Calendar for React Native
34 lines (30 loc) • 622 B
JavaScript
import { StyleSheet } from 'react-native';
import { CONTENT_OFFSET } from '../utils';
const GREY_COLOR = '#E9EDF0';
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: CONTENT_OFFSET,
},
timeRow: {
flex: 0,
borderTopWidth: 1,
borderColor: GREY_COLOR,
backgroundColor: 'transparent',
},
eventsColumn: {
flex: 1,
borderColor: GREY_COLOR,
borderLeftWidth: 1,
},
eventsContainer: {
position: 'absolute',
flexDirection: 'row',
left: 0,
right: 0,
bottom: 0,
top: 0,
backgroundColor: 'transparent',
},
});
export default styles;