mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 02:18:07 +08:00
20 lines
693 B
TypeScript
20 lines
693 B
TypeScript
import type {
|
|
GlobalToken as GlobalTokenTypeUtil,
|
|
OverrideTokenMap as OverrideTokenTypeUtil,
|
|
FullToken as FullTokenTypeUtil,
|
|
TokenMapKey,
|
|
} from '@ant-design/cssinjs-utils';
|
|
|
|
import type { AliasToken } from './alias';
|
|
import type { ComponentTokenMap } from './components';
|
|
|
|
|
|
/** Final token which contains the components level override */
|
|
export type GlobalToken = GlobalTokenTypeUtil<ComponentTokenMap, AliasToken>;
|
|
|
|
export type OverrideToken = OverrideTokenTypeUtil<ComponentTokenMap, AliasToken>;
|
|
|
|
export type OverrideComponent = TokenMapKey<ComponentTokenMap>;
|
|
|
|
export type FullToken<C extends TokenMapKey<ComponentTokenMap>> = FullTokenTypeUtil<ComponentTokenMap, AliasToken, C>;
|