@jdcfe/yep-react
Version:
一套移动端的React组件库
35 lines (34 loc) • 756 B
TypeScript
import * as React from 'react';
export interface ActionSheetProps {
/**
* 是否显示
*/
show?: boolean;
/**
* 关闭事件回调
*/
onCancel?: () => void;
/**
* 点击事件回调
*/
itemClick?: (item: string, index: number) => void;
prefixCls?: string;
className?: string;
style?: React.CSSProperties;
/**
* 是否拥有title
*/
title?: string;
/**
* 如果hasCancel为true,content与取消按钮中是否有space间隔空间
*/
space?: boolean;
/**
* 是否显示取消按钮
*/
hasCancel?: boolean;
data?: [];
active?: number | string;
}
declare const ActionSheet: React.FC<ActionSheetProps>;
export default ActionSheet;