@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
17 lines (16 loc) • 640 B
TypeScript
import React from 'react';
import { TextStyle } from 'react-native';
import { Action, CallbackOnBackHandler, ModalPropsType } from './PropsType';
export interface AlertContainerProps extends Pick<ModalPropsType, 'modalType'> {
title: React.ReactNode;
content: React.ReactNode;
actions: Action<TextStyle>[];
onAnimationEnd?: (visible: boolean) => void;
onBackHandler?: CallbackOnBackHandler;
}
export default class AlertContainer extends React.Component<AlertContainerProps, any> {
constructor(props: AlertContainerProps);
onBackAndroid: () => boolean;
onClose: () => void;
render(): React.JSX.Element;
}