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