feat(SW-439): add support for one column grid
This commit is contained in:
@@ -3,3 +3,5 @@ import { CardsGrid } from "@/types/trpc/routers/contentstack/blocks"
|
||||
export interface CardsGridProps extends Pick<CardsGrid, "cards_grid"> {
|
||||
firstItem?: boolean
|
||||
}
|
||||
|
||||
export type Columns = 1 | 2 | 3
|
||||
|
||||
@@ -7,6 +7,7 @@ export namespace CardsGridEnum {
|
||||
}
|
||||
|
||||
export enum CardsGridLayoutEnum {
|
||||
ONE_COLUMN = "oneColumnGrid",
|
||||
TWO_COLUMNS = "twoColumnGrid",
|
||||
THREE_COLUMNS = "threeColumnGrid",
|
||||
TWO_PLUS_ONE = "twoPlusOne", // Not sure if this is used?
|
||||
|
||||
Reference in New Issue
Block a user