zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
65 lines (60 loc) • 1.86 kB
TypeScript
import * as React from 'react';
interface PageProps {
slot?: string;
id?: string | number;
className?: string;
style?: React.CSSProperties;
name ?: string;
stacked ?: boolean;
withSubnavbar ?: boolean;
subnavbar ?: boolean;
withNavbarLarge ?: boolean;
navbarLarge ?: boolean;
noNavbar ?: boolean;
noToolbar ?: boolean;
tabs ?: boolean;
pageContent ?: boolean;
noSwipeback ?: boolean;
ptr ?: boolean;
ptrDistance ?: number;
ptrPreloader ?: boolean;
ptrBottom ?: boolean;
ptrMousewheel ?: boolean;
infinite ?: boolean;
infiniteTop ?: boolean;
infiniteDistance ?: number;
infinitePreloader ?: boolean;
hideBarsOnScroll ?: boolean;
hideNavbarOnScroll ?: boolean;
hideToolbarOnScroll ?: boolean;
messagesContent ?: boolean;
loginScreen ?: boolean;
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
themeDark?: boolean;
onPtrPullStart ?: (...args: any[]) => void;
onPtrPullMove ?: (...args: any[]) => void;
onPtrPullEnd ?: (...args: any[]) => void;
onPtrRefresh ?: (...args: any[]) => void;
onPtrDone ?: (...args: any[]) => void;
onInfinite ?: (...args: any[]) => void;
onPageMounted ?: (page?: any) => void;
onPageInit ?: (page?: any) => void;
onPageReinit ?: (page?: any) => void;
onPageBeforeIn ?: (page?: any) => void;
onPageBeforeOut ?: (page?: any) => void;
onPageAfterOut ?: (page?: any) => void;
onPageAfterIn ?: (page?: any) => void;
onPageBeforeRemove ?: (page?: any) => void;
onPageBeforeUnmount ?: (page?: any) => void;
onPageTabShow ?: (...args: any[]) => void;
onPageTabHide ?: (...args: any[]) => void;
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
children?: React.ReactNode;
}
declare const Page: React.FunctionComponent<PageProps>;
export default Page;