mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
27 lines
880 B
TypeScript
27 lines
880 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import ChatModerationActionMenu from '../components/chat/ChatModerationActionMenu';
|
|
|
|
export default {
|
|
title: 'owncast/Chat/Moderation menu',
|
|
component: ChatModerationActionMenu,
|
|
parameters: {
|
|
docs: {
|
|
description: {
|
|
component: `This should be a popup that is activated from a user's chat message. It should have actions to:
|
|
- Remove single message
|
|
- Ban user completely
|
|
- Open modal to see user details
|
|
`,
|
|
},
|
|
},
|
|
},
|
|
} as ComponentMeta<typeof ChatModerationActionMenu>;
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
const Template: ComponentStory<typeof ChatModerationActionMenu> = args => (
|
|
<ChatModerationActionMenu />
|
|
);
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export const Basic = Template.bind({});
|