mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
a95662d0e1
* refactor: button default not use compact style * chore: clean up
43 lines
1.0 KiB
TypeScript
43 lines
1.0 KiB
TypeScript
import { useStyleRegister } from '@ant-design/cssinjs';
|
|
|
|
import type {
|
|
AliasToken,
|
|
GenerateStyle,
|
|
PresetColorKey,
|
|
PresetColorType,
|
|
SeedToken,
|
|
UseComponentStyleResult,
|
|
} from './interface';
|
|
import { PresetColors } from './interface';
|
|
import useToken from './useToken';
|
|
import type { FullToken } from './util/genComponentStyleHook';
|
|
import genComponentStyleHook, { genSubStyleComponent } from './util/genComponentStyleHook';
|
|
import genPresetColor from './util/genPresetColor';
|
|
import statisticToken, { merge as mergeToken } from './util/statistic';
|
|
import useResetIconStyle from './util/useResetIconStyle';
|
|
|
|
export { DesignTokenContext, defaultConfig } from './context';
|
|
export {
|
|
PresetColors,
|
|
genComponentStyleHook,
|
|
genSubStyleComponent,
|
|
genPresetColor,
|
|
mergeToken,
|
|
statisticToken,
|
|
// hooks
|
|
useResetIconStyle,
|
|
useStyleRegister,
|
|
useToken,
|
|
};
|
|
export type {
|
|
AliasToken,
|
|
// FIXME: Remove this type
|
|
AliasToken as DerivativeToken,
|
|
FullToken,
|
|
GenerateStyle,
|
|
PresetColorKey,
|
|
PresetColorType,
|
|
SeedToken,
|
|
UseComponentStyleResult,
|
|
};
|