react-native-modern-header-thecodingbeats
Version:
Fully customizable Modern Header View for React Native With The Coding Beats
29 lines (28 loc) • 670 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._container = void 0;
const react_native_1 = require("react-native");
exports._container = (height, width, backgroundColor) => ({
width,
height,
top: 0,
backgroundColor,
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
borderBottomWidth:1,
borderColor:"#e0dfdf"
});
exports.default = react_native_1.StyleSheet.create({
leftCompStyle: {
left: 16,
position: "absolute",
},
rightCompStyle: {
right: 16,
position: "absolute",
},
titleStyle: {
fontWeight: "800",
},
});