@anatolyk/react-native-week-view
Version:
Week View Calendar for React Native
23 lines (19 loc) • 408 B
JavaScript
import { StyleSheet } from 'react-native';
const circleSize = 8;
const lineWidth = 1;
const styles = StyleSheet.create({
container: {
position: 'absolute',
zIndex: 2,
borderTopWidth: lineWidth,
},
circle: {
position: 'absolute',
top: -(circleSize + lineWidth) / 2,
left: -4,
borderRadius: 2,
height: circleSize,
width: circleSize,
},
});
export default styles;