import * as React from "react"; import {PageProps} from "../../basicPage/page"; import {ColorValue, ImageStyle, StyleProp} from "react-native"; import {ViewStyle} from "react-native/Libraries/StyleSheet/StyleSheetTypes"; export interface IProps extends PageProps { readonly style?: StyleProp // 方向 readonly direction?: 'left' | 'right' | 'top' | 'bottom' | 'center' | 'centerTop' // 内容 readonly content?: string | React.ReactNode readonly contentSize?: number readonly contentColor?: ColorValue readonly contentStyle?: StyleProp // 间距 readonly contentEdgeTop?: number // 图片 readonly image?: number | React.ReactNode readonly imageStyle?: StyleProp // icon readonly icon?: string | React.ReactNode readonly iconStyle?: StyleProp readonly iconSize?: number readonly iconColor?: ColorValue }