import { Meta } from '@storybook/react'; import { ChatSocialMessage } from './ChatSocialMessage'; const meta = { title: 'owncast/Chat/Messages/Social-fediverse event', component: ChatSocialMessage, parameters: {}, } satisfies Meta; export default meta; export const Follow = { args: { message: { type: 'FEDIVERSE_ENGAGEMENT_FOLLOW', body: '

james followed this live stream.

', title: 'james@mastodon.social', image: 'https://mastodon.social/avatars/original/missing.png', link: 'https://mastodon.social/@james', }, }, }; export const Like = { args: { message: { type: 'FEDIVERSE_ENGAGEMENT_LIKE', body: '

james liked that this stream went live.

', title: 'james@mastodon.social', image: 'https://mastodon.social/avatars/original/missing.png', link: 'https://mastodon.social/@james', }, }, }; export const Repost = { args: { message: { type: 'FEDIVERSE_ENGAGEMENT_REPOST', body: '

james shared this stream with their followers.

', title: 'james@mastodon.social', image: 'https://mastodon.social/avatars/original/missing.png', link: 'https://mastodon.social/@james', }, }, }; export const LongAccountName = { args: { message: { type: 'FEDIVERSE_ENGAGEMENT_REPOST', body: '

james shared this stream with their followers.

', title: 'littlejimmywilliams@technology.biz.net.org.technology.gov', image: 'https://mastodon.social/avatars/original/missing.png', link: 'https://mastodon.social/@james', }, }, }; export const InvalidAvatarImage = { args: { message: { type: 'FEDIVERSE_ENGAGEMENT_REPOST', body: '

james shared this stream with their followers.

', title: 'james@mastodon.social', image: 'https://xx.xx/avatars/original/missing.png', link: 'https://mastodon.social/@james', }, }, };