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 (
);
}
export function _position(position) {
if (!position) {
let top = hasNotch() ? height * -0.17 : height * -0.25;
return {
...Platform.select({
ios: {
top
},
android: {
top: height * -0.185
}
})
};
}
return position;
}