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