Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add style and story for generic chat action message
Gabe Kangas6f892a8a8d74
diff --git a/web/components/chat/ChatActionMessage.tsx b/web/components/chat/ChatActionMessage.tsxdeleted file mode 100644index c1c0b91979..0000000000--- a/web/components/chat/ChatActionMessage.tsx+++ /dev/null@@ -1,11 +0,0 @@-/* eslint-disable react/no-danger */-interface Props {- body: string;-}--// eslint-disable-next-line @typescript-eslint/no-unused-vars-export default function ChatActionMessage(props: Props) {- const { body } = props;-- return <div dangerouslySetInnerHTML={{ __html: body }} />;-}diff --git a/web/stories/ChatActionMessage.stories.tsx b/web/stories/ChatActionMessage.stories.tsxindex cdca8e1e34..7e3f041912 100644--- a/web/stories/ChatActionMessage.stories.tsx+++ b/web/stories/ChatActionMessage.stories.tsx@@ -1,6 +1,6 @@import React from 'react';import { ComponentStory, ComponentMeta } from '@storybook/react';-import ChatActionMessage from '../components/chat/ChatActionMessage';+import ChatActionMessage from '../components/chat/ChatAction/ChatActionMessage';import Mock from './assets/mocks/chatmessage-action.png';export default {@@ -19,8 +19,9 @@ export default {},} as ComponentMeta<typeof ChatActionMessage>;-// eslint-disable-next-line @typescript-eslint/no-unused-varsconst Template: ComponentStory<typeof ChatActionMessage> = args => <ChatActionMessage {...args} />;-// eslint-disable-next-line @typescript-eslint/no-unused-varsexport const Basic = Template.bind({});+Basic.args = {+ body: 'This is a basic action message.',+};