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

24 lines
604 B
TypeScript

import type { ClSelectTriggerPassThrough } from "../cl-select-trigger/props";
import type { ClPopupPassThrough } from "../cl-popup/props";
import type { ClListViewItem } from "../../types";
export type ClCascaderPassThrough = {
trigger?: ClSelectTriggerPassThrough;
popup?: ClPopupPassThrough;
};
export type ClCascaderProps = {
className?: string;
pt?: ClCascaderPassThrough;
modelValue?: string[];
title?: string;
placeholder?: string;
options?: ClListViewItem[];
showTrigger?: boolean;
disabled?: boolean;
labelKey?: string;
valueKey?: string;
textSeparator?: string;
height?: any;
};