Overview
TheuseSafeArea hook returns the safe area insets for handling device notches, status bars, and other system UI. It is a convenience wrapper around useHostContext.
Import
Signature
Returns
Usage
McpUiHostContext.safeAreaInsets.Get safe area insets.
useSafeArea hook returns the safe area insets for handling device notches, status bars, and other system UI. It is a convenience wrapper around useHostContext.
McpUiHostContext.safeAreaInsets.