This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/components/Application/SendMessage/SendMessage.stories.tsx

20 lines
569 B
TypeScript
Raw Normal View History

import { Meta, Story } from '@storybook/react'
2022-01-13 18:21:45 +01:00
import { channelExample } from '../../../cypress/fixtures/channels/channel'
import { guildExample } from '../../../cypress/fixtures/guilds/guild'
import { SendMessage as Component, SendMessageProps } from './SendMessage'
const Stories: Meta = {
title: 'SendMessage',
component: Component
}
export default Stories
2022-01-13 18:21:45 +01:00
export const SendMessage: Story<SendMessageProps> = (arguments_) => {
return <Component {...arguments_} />
}
2022-01-13 18:21:45 +01:00
SendMessage.args = {
path: { channelId: channelExample.id, guildId: guildExample.id }
}