///
export interface SwipeActionProps {
/**
* 容器节点className
*/
className?: string;
/**
* 容器节点style
*/
style?: React.CSSProperties;
/**
* 禁用swipeout
*/
disabled?: boolean;
/**
* 点击按钮后是否自动隐藏
*/
autoClose?: boolean;
/**
* 左侧按钮组
*/
left?: Array;
/**
* 右侧按钮组
*/
right?: Array;
/**
* 打开时回调函数
*/
onOpen?: () => void;
/**
* 关闭时回调函数
*/
onClose?: () => void;
/**
* 子组件
*/
children: JSX.Element;
}
export interface SwipeActionButtonProps {
/**
* 操作按钮className
*/
className?: string;
/**
* 操作按钮style
*/
style?: React.CSSProperties;
/**
* 操作按钮文案
*/
text: string;
/**
* 操作按钮点击事件
*/
onPress?: () => void;
}