1import { StatusBar } from 'react-native'; 2 3// @needsAudit 4/** 5 * Set the translucency of the status bar. 6 * @param translucent Whether the app can draw under the status bar. When `true`, content will be 7 * rendered under the status bar. This is always `true` on iOS and cannot be changed. 8 * @platform android 9 */ 10export default function setStatusBarTranslucent(translucent: boolean) { 11 StatusBar.setTranslucent(translucent); 12} 13