0
owncast/web/components/chat/ChatNameChangeMessage/ChatNameChangeMessage.stories.tsx

22 lines
463 B
TypeScript
Raw Normal View History

import { Meta } from '@storybook/react';
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',
},
},
},
};