@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
18 lines (17 loc) • 675 B
TypeScript
import React from 'react';
import { ActionSheetIOSOptions } from 'react-native';
import { WithThemeStyles } from '../style';
import { ActionSheetStyle } from './style/index';
export interface ActionSheetNativeProps extends WithThemeStyles<ActionSheetStyle> {
onAnimationEnd?: (visible: boolean) => void;
visible?: boolean;
config: ActionSheetIOSOptions;
callback?: (index: number) => void;
}
declare class ActionSheetAndroid extends React.PureComponent<ActionSheetNativeProps, any> {
constructor(props: ActionSheetNativeProps);
confirm(index: number): void;
close: () => void;
render(): React.JSX.Element;
}
export default ActionSheetAndroid;