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

26 lines
649 B
TypeScript

import type { ClSelectOption } from "../../types";
import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
import type { ClPopupPassThrough } from "../cl-popup/props";
export type ClSelectPassThrough = {
trigger?: ClSelectTriggerPassThrough;
popup?: ClPopupPassThrough;
};
export type ClSelectProps = {
className?: string;
pt?: ClSelectPassThrough;
modelValue?: Value;
title?: string;
placeholder?: string;
options?: ClSelectOption[];
showTrigger?: boolean;
disabled?: boolean;
columnCount?: number;
splitor?: string;
confirmText?: string;
showConfirm?: boolean;
cancelText?: string;
showCancel?: boolean;
};