Files
owncast/web/components/chat/ChatActionMessage/ChatActionMessage.stories.tsx
Gabe Kangas cc9286416c Update storybook to v9 (#4645)
* chore: Update storybook to v9

* Pin next-export-i18n + remove outdated mock library

* Replace old mocking library with MSW

* Resolve knip unused code warnings
2025-10-20 21:26:32 -07:00

28 lines
653 B
TypeScript

import { Meta } from '@storybook/nextjs';
import { ChatActionMessage } from './ChatActionMessage';
import Mock from '../../../stories/assets/mocks/chatmessage-action.png';
const meta = {
title: 'owncast/Chat/Messages/Chat action',
component: ChatActionMessage,
parameters: {
design: {
type: 'image',
url: Mock,
},
docs: {
description: {
component: `This is the message design an action takes place, such as a join or a name change.`,
},
},
},
} satisfies Meta<typeof ChatActionMessage>;
export default meta;
export const Basic = {
args: {
body: 'This is a basic action message.',
},
};