This commit is contained in:
26
frontend/storybook/stories/H3.stories.tsx
Normal file
26
frontend/storybook/stories/H3.stories.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import preview from "#.storybook/preview";
|
||||
|
||||
import { H3 } from "../../src/ts/components/common/Headers";
|
||||
|
||||
const meta = preview.meta({
|
||||
title: "Common/H3",
|
||||
component: H3,
|
||||
parameters: {
|
||||
layout: "centered",
|
||||
},
|
||||
tags: ["autodocs"],
|
||||
});
|
||||
|
||||
export const Default = meta.story({
|
||||
args: {
|
||||
text: "Sub Section",
|
||||
fa: { icon: "fa-cog", variant: "solid" },
|
||||
},
|
||||
});
|
||||
|
||||
export const WithDifferentIcon = meta.story({
|
||||
args: {
|
||||
text: "Appearance",
|
||||
fa: { icon: "fa-paint-brush", variant: "solid" },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user