tdesign-react
Version:
TDesign Component for React
23 lines (22 loc) • 699 B
TypeScript
import defaultLocale from '../locale/zh_CN';
import { GlobalConfigProvider } from './type';
export declare enum EAnimationType {
ripple = "ripple",
expand = "expand",
fade = "fade"
}
export declare const defaultClassPrefix = "t";
export declare const defaultAnimation: {
include: EAnimationType[];
exclude: any[];
};
export declare const defaultGlobalConfig: GlobalConfigProvider;
export type Locale = typeof defaultLocale;
export declare const defaultContext: {
globalConfig: GlobalConfigProvider;
};
export type Config = typeof defaultContext;
declare const ConfigContext: import("react").Context<{
globalConfig: GlobalConfigProvider;
}>;
export default ConfigContext;