zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
54 lines (53 loc) • 1.61 kB
JavaScript
import Page from '../components/page';
/* dts-props
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_PROPS
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_PROP
*/
Page.displayName = 'zmp-page';
export default Page;