2023-11-07 06:35:05 +03:00
|
|
|
import { Meta } from '@storybook/react';
|
2022-09-07 10:00:28 +03:00
|
|
|
import { ChatActionMessage } from './ChatActionMessage';
|
2022-09-03 21:38:52 +03:00
|
|
|
import Mock from '../../../stories/assets/mocks/chatmessage-action.png';
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
const meta = {
|
2022-04-28 09:19:20 +03:00
|
|
|
title: 'owncast/Chat/Messages/Chat action',
|
|
|
|
component: ChatActionMessage,
|
2022-05-13 06:52:19 +03:00
|
|
|
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.`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-11-07 06:35:05 +03:00
|
|
|
} satisfies Meta<typeof ChatActionMessage>;
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
export default meta;
|
2022-04-28 09:19:20 +03:00
|
|
|
|
2023-11-07 06:35:05 +03:00
|
|
|
export const Basic = {
|
|
|
|
args: {
|
|
|
|
body: 'This is a basic action message.',
|
|
|
|
},
|
2022-07-15 06:09:40 +03:00
|
|
|
};
|