mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
2954c3f60e
* feat: Grid support cssVar * fix: fix * fix: fix --------- Signed-off-by: lijianan <574980606@qq.com>
7 lines
310 B
TypeScript
7 lines
310 B
TypeScript
import { prepareColComponentToken, prepareRowComponentToken } from '.';
|
|
import { genCSSVarRegister } from '../../theme/internal';
|
|
|
|
export const useColCssVar = genCSSVarRegister<'Grid'>('Grid', prepareColComponentToken);
|
|
|
|
export const useRowCssVar = genCSSVarRegister<'Grid'>('Grid', prepareRowComponentToken);
|