"use client"; import { useTranslation } from "../../../contexts/MessagesContext"; import SectionHeader from "../../type/SectionHeader"; import Button from "../../buttons/Button"; import { GovernanceTemplateGrid } from "../GovernanceTemplateGrid"; import { GovernanceTemplateGridSkeleton } from "../GovernanceTemplateGrid/GovernanceTemplateGridSkeleton"; import type { RuleStackViewProps } from "./RuleStack.types"; /** Figma **Section / RuleStack** [22085:860413](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=22085-860413&m=dev). */ export function RuleStackView({ className, onTemplateClick, gridEntries, translationNamespace, twoColumnsFromMd = false, }: RuleStackViewProps) { const t = useTranslation(translationNamespace); const buttonText = t("button.seeAllTemplates"); return (
{gridEntries === null ? ( ) : ( )}
); }