import React , { forwardRef } from 'react' ; import { StatusBar as RNStatusBar , StatusBarProps } from 'react-native' ; import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ; export const StatusBar = forwardRef ( ( props , ref ) => { if ( useHasResponsiveProps ( props ) ) { return null ; } return < RNStatusBar { ... props } ref = { ref } / > ; } ) ;