UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

27 lines (26 loc) 1.09 kB
import type { DefaultOptionType, SingleValueType } from '../Cascader'; import type { Key } from '../../_util/type'; export declare const FIX_LABEL = "__cascader_fix_label__"; export interface ColumnProps { prefixCls: string; multiple?: boolean; options: DefaultOptionType[]; /** Current Column opened item key */ activeValue?: Key; /** The value path before current column */ prevValuePath: Key[]; onToggleOpen: (open: boolean) => void; onSelect: (valuePath: SingleValueType, leaf: boolean) => void; onActive: (valuePath: SingleValueType) => void; checkedSet: Set<Key>; halfCheckedSet: Set<Key>; loadingKeys: Key[]; isSelectable: (option: DefaultOptionType) => boolean; } declare function Column({ prefixCls, multiple, options, activeValue, prevValuePath, onToggleOpen, onSelect, onActive, checkedSet, halfCheckedSet, loadingKeys, isSelectable, }: ColumnProps): import("vue/jsx-runtime").JSX.Element; declare namespace Column { var props: string[]; var displayName: string; var inheritAttrs: boolean; } export default Column;