UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

17 lines (16 loc) • 795 B
/** * Copyright © 2023 650 Industries. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type { PropsWithChildren } from 'react'; import React from 'react'; import type { ServerDataLoaderData } from '../loaders/ServerDataLoaderContext'; /** * Root style-reset for full-screen React Native web apps with a root `<ScrollView />` should use the following styles to ensure native parity. See [React Native for Web's root element setup](https://necolas.github.io/react-native-web/docs/setup/#root-element). */ export declare const ScrollViewStyleReset: React.FC; export declare function InnerRoot({ children, loadedData, }: PropsWithChildren<{ loadedData: ServerDataLoaderData; }>): React.JSX.Element;