ant-design/components/avatar/style/cssVar.ts
lijianan b61d769d6d
feat: Avatar support cssVar (#45824)
* feat: Avatar support cssVar

* fix: fix

* fix: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 17:10:39 +08:00

5 lines
179 B
TypeScript

import { prepareComponentToken } from '.';
import { genCSSVarRegister } from '../../theme/internal';
export default genCSSVarRegister<'Avatar'>('Avatar', prepareComponentToken);