react-native-screens
Version:
Native navigation primitives for your React Native app.
32 lines • 1.3 kB
TypeScript
import type { NativeSyntheticEvent, ViewProps } from 'react-native';
type GenericEmptyEvent = Readonly<{}>;
export type SplitViewScreenColumnType = 'column' | 'inspector';
export interface SplitViewScreenProps extends ViewProps {
children?: React.ReactNode;
/**
* @summary A callback that gets invoked when the current SplitViewScreen did appear.
*
* This is called as soon as the transition ends.
*/
onDidAppear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
/**
* @summary A callback that gets invoked when the current SplitViewScreen did disappear.
*
* This is called as soon as the transition ends.
*/
onDidDisappear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
/**
* @summary A callback that gets invoked when the current SplitViewScreen will appear.
*
* This is called as soon as the transition begins.
*/
onWillAppear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
/**
* @summary A callback that gets invoked when the current SplitViewScreen will disappear.
*
* This is called as soon as the transition begins.
*/
onWillDisappear?: (e: NativeSyntheticEvent<GenericEmptyEvent>) => void;
}
export {};
//# sourceMappingURL=SplitViewScreen.types.d.ts.map