* chore: Update storybook to v9 * Pin next-export-i18n + remove outdated mock library * Replace old mocking library with MSW * Resolve knip unused code warnings
22 lines
464 B
TypeScript
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',
|
|
},
|
|
},
|
|
},
|
|
};
|