react-native-ethiopian-calendar
Version:
A react native calendar component which is mainly intended for applications which require Ethiopian calendar.
34 lines • 878 B
JavaScript
import { StyleSheet } from 'react-native';
import * as defaultStyle from '../../../styles';
export const makeStyle = function () {
let theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
const mergedStyles = {
...defaultStyle,
...theme
};
return StyleSheet.create({
container: {
width: 50,
height: 25,
borderRadius: 20,
borderWidth: 1,
borderColor: mergedStyles.switchButtonColor,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
paddingHorizontal: 4,
marginVertical: 4
},
toggleCircle: {
width: 18,
height: 18,
backgroundColor: mergedStyles.switchButtonColor,
borderRadius: 10
},
text: {
color: mergedStyles.switchButtonColor,
fontSize: 14
}
});
};
//# sourceMappingURL=styles.js.map