Skip to content

Commit 7c135fa

Browse files
authored
Merge pull request #72 from riamakaraju/WEB-41
Organized Components Into Categories
2 parents 446d109 + 112b2ec commit 7c135fa

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

sga-puck/puck.config.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@ import { MinimumColumnWidthGridConfig } from "./components/puck/MinimumColumnWid
1515
import { RootContainerConfig } from "./components/puck/RootContainer";
1616

1717
export const config = {
18+
categories: {
19+
navigation: {
20+
title: "Navigation",
21+
components: ["Navigation", "LinkButton"],
22+
},
23+
content: {
24+
title: "Content",
25+
components: ["Title", "Paragraph", "BulletList", "PageHeader"],
26+
},
27+
grid: {
28+
title: "Grids",
29+
components: ["CommitteeGrid", "MasonryGrid", "MinimumColumnWidthGrid",],
30+
},
31+
layout: {
32+
title: "Layout",
33+
components: [
34+
"Container",
35+
"RootContainer",
36+
"Content",
37+
"Footer",
38+
"HeaderContent",
39+
],
40+
},
41+
},
42+
1843
components: {
1944
HeaderContent: HeaderContentConfig,
2045
Navigation: NavigationConfig,

0 commit comments

Comments
 (0)