import type { Meta, StoryObj } from "@storybook/react" import { Em } from "./Em" const meta = { title: "base/communication/Em", component: Em, tags: ["autodocs"], argTypes: { children: { control: "text", description: "The emphasized text content", }, }, parameters: { layout: "centered", }, args: { children: "This text is emphasized", }, } satisfies Meta export default meta type Story = StoryObj /** * Default emphasized text. */ export const Default: Story = {} /** * Emphasized text in context. */ export const InContext: Story = { render: () => (

This is a paragraph with emphasized text to show how it looks in context.

Another paragraph with different emphasized content to demonstrate usage.

), } /** * Emphasized text in a sentence. */ export const InSentence: Story = { args: { children: "important", }, render: args => (

This is a sentence where the word is emphasized to show its significance.

), } /** * Multiple emphasized words. */ export const MultipleEmphasis: Story = { render: () => (

This paragraph contains multiple emphasized words to demonstrate how the component works in context. The blue emphasis and red emphasis show different styling options.

), }