first commit
This commit is contained in:
21
frontend/node_modules/rc-cascader/lib/context.d.ts
generated
vendored
Normal file
21
frontend/node_modules/rc-cascader/lib/context.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import * as React from 'react';
|
||||
import type { CascaderProps, InternalFieldNames, DefaultOptionType, SingleValueType } from './Cascader';
|
||||
export interface CascaderContextProps {
|
||||
options: NonNullable<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;
|
||||
optionRender?: CascaderProps['optionRender'];
|
||||
}
|
||||
declare const CascaderContext: React.Context<CascaderContextProps>;
|
||||
export default CascaderContext;
|
||||
Reference in New Issue
Block a user