UNPKG

@react-navigation/bottom-tabs

Version:

Bottom tab navigator following iOS design guidelines

31 lines 869 B
import * as React from 'react'; type Props = { /** * Whether lazy rendering is enabled. */ lazy: boolean; /** * Whether the component is visible. */ visible: boolean; /** * Content to render. */ children: React.ReactElement; }; /** * Render content lazily based on visibility. * * When lazy is enabled: * - If content is visible, it will render immediately * - If content is not visible, it won't render until it becomes visible * * Otherwise: * - If content is visible, it will render immediately * - If content is not visible, it will defer rendering * * Once rendered, the content remains rendered. */ export declare function Deferred({ lazy, visible, children }: Props): React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null; export {}; //# sourceMappingURL=Deferred.d.ts.map