react-native-twopane-navigation
Version:
React Native package for dual screen devices navigation support (Surface Duo)
16 lines (15 loc) • 841 B
TypeScript
import { IExtensionOptions } from '../../utilities/interfaces';
import { IHeader } from '../../shared/screenStore/headerStore/header.interface';
import { ReactElement } from 'react';
declare const _twoPaneFunctions: {
Add: (key: string, element: ReactElement, header?: IHeader | undefined, isMerge?: boolean, extensionOptions?: IExtensionOptions | undefined) => void;
AddOrMoveToFront: (key: string, element: ReactElement, header?: IHeader | undefined, isMerge?: boolean) => void;
mergeToOppositePane: () => void;
BackToHome: () => void;
GoBack: () => void;
ReplacePane: (key: string, element: ReactElement) => void;
ReplaceHeader: (key: string, header: IHeader) => void;
};
declare type twoPaneFunctions = typeof _twoPaneFunctions;
declare const twoPane: twoPaneFunctions;
export default twoPane;