You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
880 B
27 lines
880 B
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({});
|
|
|