UNPKG

tntd

Version:

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

42 lines 1.37 kB
import React from 'react'; import type { RenderEmptyHandler } from './defaultRenderEmpty'; export interface CSPConfig { nonce?: string; } export declare type DirectionType = 'ltr' | 'rtl' | undefined; export declare type SizeType = 'small' | 'middle' | 'large' | undefined; export declare type RequiredMark = boolean | 'optional'; export declare const defaultIconPrefixCls = "anticon"; export interface ConfigConsumerProps { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode?: HTMLElement) => HTMLElement; rootPrefixCls?: string; iconPrefixCls?: string; getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string; renderEmpty?: RenderEmptyHandler; csp?: CSPConfig; autoInsertSpaceInButton?: boolean; input?: { autoComplete?: string; }; pagination?: { showSizeChanger?: boolean; }; locale?: object; pageHeader?: { ghost: boolean; }; direction?: DirectionType; space?: { size?: SizeType | number; }; virtual?: boolean; dropdownMatchSelectWidth?: boolean; form?: { requiredMark?: RequiredMark; colon?: boolean; }; } export declare const ConfigContext: React.Context<ConfigConsumerProps>; export declare const ConfigConsumer: React.Consumer<ConfigConsumerProps>; //# sourceMappingURL=context.d.ts.map