Export GlobalToken type (#40384)

This commit is contained in:
Martin Litvaj 2023-01-24 10:42:42 +01:00 committed by GitHub
parent dab7dd7608
commit ba99c27003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,