UNPKG

tntd

Version:

tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。

27 lines 1.03 kB
import * as React from 'react'; import type { CascaderProps, InternalFieldNames, DefaultOptionType, SingleValueType } from './Cascader'; export interface RenderItem { label: any; value: any; } 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; renderItem?: (item: RenderItem) => React.ReactNode; optionsNum?: number; } declare const CascaderContext: React.Context<CascaderContextProps | null>; export default CascaderContext; //# sourceMappingURL=context.d.ts.map