mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
4f078e1ee4
* Migrate web action-buttons directory to CSF3 notation * Migrate web chat directory to CSF3 notation * Migrate web common directory to CSF3 notation * Migrate web layout directory to CSF3 notation * Migrate web modals directory to CSF3 notation * Migrate web ui directory to CSF3 notation * Migrate web video directory to CSF3 notation * Migrate web stories directory to CSF3 notation
27 lines
652 B
TypeScript
27 lines
652 B
TypeScript
import { Meta } from '@storybook/react';
|
|
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.',
|
|
},
|
|
};
|