feat(SW-213): Created Text Cols component and added to Blocks in Contentstack
This commit is contained in:
@@ -3,6 +3,7 @@ import JsonToHtml from "@/components/JsonToHtml"
|
||||
import Shortcuts from "@/components/MyPages/Blocks/Shortcuts"
|
||||
|
||||
import CardsGrid from "./CardsGrid"
|
||||
import TextCols from "./TextCols"
|
||||
|
||||
import type { BlocksProps } from "@/types/components/content/blocks"
|
||||
import { ContentBlocksTypenameEnum } from "@/types/components/content/enums"
|
||||
@@ -38,6 +39,8 @@ export function Blocks({ blocks }: BlocksProps) {
|
||||
firstItem={firstItem}
|
||||
/>
|
||||
)
|
||||
case ContentBlocksTypenameEnum.ContentPageBlocksTextCols:
|
||||
return <TextCols text_cols={block.text_cols} />
|
||||
default:
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user