Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.03 KB

File metadata and controls

62 lines (35 loc) · 1.03 KB

Home > @asl-19/emotion-utils > gridContainer

gridContainer() function

Create grid container with provided gap (or separate columnGap and rowGap values).

Signature:

gridContainer: ({ columnGap, columns, gap, rowGap, }: {
    columns: number;
} & ({
    columnGap?: never;
    gap?: string;
    rowGap?: never;
} | {
    columnGap?: string;
    gap?: never;
    rowGap?: string;
})) => SerializedStyles

Parameters

Parameter

Type

Description

{ columnGap, columns, gap, rowGap, }

{ columns: number; } & ({ columnGap?: never; gap?: string; rowGap?: never; } | { columnGap?: string; gap?: never; rowGap?: string; })

Returns:

SerializedStyles