Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
renderNotchContainers() {
return (
);
}
import { Dimensions } from "react-native";
import {
isAndroid,
getStatusBarHeight
} from "@freakycoder/react-native-helpers";
const { width } = Dimensions.get("window");
export default {
container: {
width,
flexDirection: "row",
marginTop: isAndroid ? getStatusBarHeight() + 8 : 8
},
leftContainer: {
left: 16
},
dateTextStyle: {
fontSize: 32,
color: "white",
fontWeight: "bold"
},
saluteTextStyle: {
fontSize: 14,
color: "white",
fontWeight: "500"
},
rightContainer: {
right: 16,