mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
3e171a9f4f
* feat: default add resetIcon Style chore: remove test: add case feat(App): icon reset style feature Revert "feat(App): icon reset style feature" This reverts commit be6905553dcabbd490ad60be0c08c8328736bd62. Revert "chore: remove" This reverts commit 417d5f90051a342325ccc9b5cbf3d249ab0ec826. chore: update chore: update * chore: update * chore: resolve import * chore: update code style
41 lines
1021 B
TypeScript
41 lines
1021 B
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 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,
|
|
genPresetColor,
|
|
mergeToken,
|
|
statisticToken,
|
|
// hooks
|
|
useResetIconStyle,
|
|
useStyleRegister,
|
|
useToken,
|
|
};
|
|
export type {
|
|
AliasToken,
|
|
// FIXME: Remove this type
|
|
AliasToken as DerivativeToken,
|
|
FullToken,
|
|
GenerateStyle,
|
|
PresetColorKey,
|
|
PresetColorType,
|
|
SeedToken,
|
|
UseComponentStyleResult,
|
|
};
|