Files
test/frontend/storybook/stories/H2.stories.tsx
Benjamin Falch 2bc741fb78
Some checks failed
Mark Stale PRs / stale (push) Has been cancelled
adding monkeytype
2026-04-23 13:53:44 +02:00

26 lines
459 B
TypeScript

import preview from "#.storybook/preview";
import { H2 } from "../../src/ts/components/common/Headers";
const metaH2 = preview.meta({
title: "Common/H2",
component: H2,
parameters: {
layout: "centered",
},
tags: ["autodocs"],
});
export const Default = metaH2.story({
args: {
text: "Section Header",
},
});
export const WithIcon = metaH2.story({
args: {
text: "Settings",
fa: { icon: "fa-cog", variant: "solid" },
},
});