"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"; export function RuleStackView({ className, onTemplateClick, gridEntries, }: RuleStackViewProps) { const t = useTranslation("pages.home.ruleStack"); const buttonText = t("button.seeAllTemplates"); return (
{gridEntries === null ? ( ) : ( )}
); }