mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
Export GlobalToken type (#40384)
This commit is contained in:
parent
dab7dd7608
commit
ba99c27003
@ -1,5 +1,6 @@
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
import { defaultConfig, useToken as useInternalToken } from './internal';
|
||||
import type { GlobalToken } from './interface';
|
||||
import defaultAlgorithm from './themes/default';
|
||||
import darkAlgorithm from './themes/dark';
|
||||
import compactAlgorithm from './themes/compact';
|
||||
@ -14,6 +15,8 @@ function useToken() {
|
||||
return { theme, token, hashId };
|
||||
}
|
||||
|
||||
export { type GlobalToken };
|
||||
|
||||
export default {
|
||||
/** @private Test Usage. Do not use in production. */
|
||||
defaultConfig,
|
||||
|
Loading…
Reference in New Issue
Block a user