You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
475 B
25 lines
475 B
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
import { BlogTitle } from '@/components/blog-title';
|
|
import { Center } from './decorators';
|
|
|
|
const meta: Meta<typeof BlogTitle> = {
|
|
title: 'Blog Title',
|
|
component: BlogTitle,
|
|
decorators: [Center],
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof BlogTitle>;
|
|
|
|
export const Big: Story = {
|
|
args: {
|
|
className: 'text-6xl',
|
|
},
|
|
};
|
|
|
|
export const Small: Story = {
|
|
args: {
|
|
className: 'text-lg',
|
|
},
|
|
};
|
|
|