mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 04:13:13 +08:00
chore: grid (#35847)
This commit is contained in:
parent
a434ec7614
commit
e1b5595f83
@ -3,7 +3,7 @@
|
||||
|
||||
// deps-lint-skip-all
|
||||
import type { CSSObject } from '@ant-design/cssinjs';
|
||||
import type { GenerateStyle, FullToken } from '../../_util/theme';
|
||||
import type { FullToken, GenerateStyle } from '../../_util/theme';
|
||||
import { genComponentStyleHook, mergeToken } from '../../_util/theme';
|
||||
|
||||
interface GridRowToken extends FullToken<'Grid'> {}
|
||||
@ -154,7 +154,7 @@ export const useRowStyle = genComponentStyleHook('Grid', token => [genGridRowSty
|
||||
|
||||
export const useColStyle = genComponentStyleHook('Grid', token => {
|
||||
const gridToken: GridColToken = mergeToken<GridColToken>(token, {
|
||||
gridColumns: 24, // FIXME: hardcode in v4
|
||||
gridColumns: 24, // Row is divided into 24 parts in Grid
|
||||
});
|
||||
|
||||
const gridMediaSizesMap = {
|
||||
|
Loading…
Reference in New Issue
Block a user