generated from flexlark/app-template
11 lines
498 B
TypeScript
11 lines
498 B
TypeScript
// on Web, we don't use React Navigation, so we are going to avoid the safe area provider
|
|
// instead, we just have a no-op here
|
|
// for more, see: https://solito.dev/recipes/tree-shaking
|
|
|
|
// if you need safe area hooks yourself, you can implement this yourself
|
|
// however, you may be better off using the CSS selector for env(safe-area-inset-top) on Web
|
|
|
|
// for more, see the `./use-safe-area.web.ts` file
|
|
|
|
export const SafeArea = ({ children }: { children: React.ReactElement }) => <>{children}</>
|