import { StatusBar } from 'react-native'; import { StatusBarAnimation } from './StatusBar.types'; // @needsAudit /** * Toggle visibility of the status bar. * @param hidden If the status bar should be hidden. * @param animation Animation to use when toggling hidden, defaults to `'none'`. */ export default function setStatusBarHidden(hidden: boolean, animation?: StatusBarAnimation) { StatusBar.setHidden(hidden, animation); }