Files
owncast/web/components/chat/ChatNameChangeMessage/ChatNameChangeMessage.stories.tsx
T
Gabe KangasandGitHub 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

22 lines
464 B
TypeScript

import { Meta } from '@storybook/nextjs';
import { ChatNameChangeMessage } from './ChatNameChangeMessage';
const meta = {
title: 'owncast/Chat/Messages/Chat name change',
component: ChatNameChangeMessage,
} satisfies Meta<typeof ChatNameChangeMessage>;
export default meta;
export const Basic = {
args: {
message: {
oldName: 'JohnnyOldName',
user: {
displayName: 'JohnnyNewName',
displayColor: '3',
},
},
},
};