import { FC, ReactNode } from 'react'; import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native'; export interface ActionButtonProps { title: string; type: 'primary' | 'secondary'; onPress: () => void; } export interface ResultProps { /** 主文字 */ title?: ReactNode; /** 内容文字 */ content?: ReactNode; /** 自定义图片 */ imgSource?: ImageSourcePropType; /** 类型(成功、失败、进行中) */ type: 'success' | 'fail' | 'process'; /** 操作项 */ actions?: ActionButtonProps[]; /** 容器样式 */ containerStyle?: StyleProp; } declare const Result: FC; export default Result; //# sourceMappingURL=index.d.ts.map