antd-mobile
Version:
基于 React 的移动设计规范实现
28 lines (27 loc) • 607 B
TypeScript
interface SwipeActionProps {
/** whether button is disabled*/
autoClose?: boolean;
disabled?: boolean;
title?: string;
left?: Array<{
text: string;
onPress?: () => void;
style?: any;
className?: string;
}>;
right?: Array<{
text: string;
onPress?: () => void;
style?: any;
className?: string;
}>;
onOpen?: () => void;
style?: {};
/** web only */
prefixCls?: string;
className?: string;
onClose?: () => void;
/** rn android only**/
styles?: any;
}
export default SwipeActionProps;