Files
WAI_Project_UNIX/uni_modules/cool-ui/components/cl-popup/props.ts
2025-07-21 16:47:04 +08:00

33 lines
734 B
TypeScript

import type { ClPopupDirection, PassThroughProps } from "../../types";
export type ClPopupHeaderPassThrough = {
className?: string;
text?: PassThroughProps;
};
export type ClPopupPassThrough = {
className?: string;
inner?: PassThroughProps;
header?: ClPopupHeaderPassThrough;
container?: PassThroughProps;
mask?: PassThroughProps;
draw?: PassThroughProps;
};
export type ClPopupProps = {
className?: string;
pt?: ClPopupPassThrough;
modelValue?: boolean;
title?: string;
direction?: ClPopupDirection;
size?: any;
showHeader?: boolean;
showClose?: boolean;
showMask?: boolean;
maskClosable?: boolean;
swipeClose?: boolean;
swipeCloseThreshold?: number;
pointerEvents?: "auto" | "none";
keepAlive?: boolean;
};