import type { Meta, StoryObj } from "@storybook/nextjs" import type { TypographyProps } from "./Typography.tsx" import { Typography } from "./Typography.tsx" const meta = { title: "Design System/Typography", component: Typography, } satisfies Meta export default meta type Story = StoryObj export const Component: Story = { args: { children: "Typography", }, } export const Variants: Story = { render: () => { return (
{Array.from({ length: 6 }).map((_, index) => { const heading = `h${index + 1}` return ( Heading {heading} ) })} Text 1 Text 2 Bold (Strong) Italic (Emphasis) Underline Strikethrough Highlighted Ctrl + C (Keyboard Input) CSS (Abbreviation or Acronym) Citation A validator is a program that checks for syntax errors in code or documents. (Definition) A long Citation...
Second line...
  • Ordered list item 1
  • Ordered list item 2
  1. Unordered list item 1
  2. Unordered list item 2
) }, }