expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
16 lines (15 loc) • 529 B
TypeScript
import * as React from 'react';
import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
type Props = {
visible: boolean;
children: React.ReactNode;
enabled: boolean;
style?: StyleProp<ViewStyle>;
};
export declare const MaybeScreenContainer: ({ enabled, ...rest }: ViewProps & {
enabled: boolean;
hasTwoStates: boolean;
children: React.ReactNode;
}) => React.JSX.Element;
export declare function MaybeScreen({ visible, children, ...rest }: Props): React.JSX.Element;
export {};