You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
837 B
21 lines
837 B
import * as React from 'react';
|
|
import type { CascaderProps, InternalFieldNames, DefaultOptionType, SingleValueType } from './Cascader';
|
|
export interface CascaderContextProps {
|
|
options: CascaderProps['options'];
|
|
fieldNames: InternalFieldNames;
|
|
values: SingleValueType[];
|
|
halfValues: SingleValueType[];
|
|
changeOnSelect?: boolean;
|
|
onSelect: (valuePath: SingleValueType) => void;
|
|
checkable?: boolean | React.ReactNode;
|
|
searchOptions: DefaultOptionType[];
|
|
dropdownPrefixCls?: string;
|
|
loadData?: (selectOptions: DefaultOptionType[]) => void;
|
|
expandTrigger?: 'hover' | 'click';
|
|
expandIcon?: React.ReactNode;
|
|
loadingIcon?: React.ReactNode;
|
|
dropdownMenuColumnStyle?: React.CSSProperties;
|
|
}
|
|
declare const CascaderContext: React.Context<CascaderContextProps>;
|
|
export default CascaderContext;
|