API Reference > ui-framework > State > withSafeArea withSafeArea Function HOC that injects SafeAreaInsets. withSafeArea<P extends InjectedWithSafeAreaProps, C>(Component: (props: P) => | ReactElement<any, string | JSXElementConstructor<any>> & C & (props: P) => Component<P, any, any> & C): undefined Parameter Type Description Component (props: P) => | ReactElement<any, string | JSXElementConstructor<any>> & C & (props: P) => Component<P, any, any> & C Defined in ui/framework/src/ui-framework/safearea/SafeAreaContext.tsx Line 27 Last Updated: 12 June, 2024