@cainiaofe/cn-ui-m
Version:
12 lines (11 loc) • 398 B
TypeScript
import type { CnActionSheetOptionProps, CnActionSheetProps } from './types';
export interface ActionSheetWrapperProps<T = CnActionSheetOptionProps> extends Omit<CnActionSheetProps<T>, 'visible'> {
message?: string;
}
/**
* 显示 ActionSheet
* @param {Object} options
*/
export default function <T = CnActionSheetOptionProps>(options: ActionSheetWrapperProps<T>): {
close: () => any;
};