Files
jindengchen-ai-report/cool-unix/uni_modules/cool-ui/components/cl-select/props.ts

26 lines
672 B
TypeScript
Raw Normal View History

2025-11-13 10:36:23 +08:00
import type { ClSelectOption, ClSelectValue } 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?: ClSelectValue;
title?: string;
placeholder?: string;
options?: ClSelectOption[];
showTrigger?: boolean;
disabled?: boolean;
columnCount?: number;
splitor?: string;
confirmText?: string;
showConfirm?: boolean;
cancelText?: string;
showCancel?: boolean;
};