owncast/web/components/chat/ChatActionMessage.tsx

12 lines
284 B
TypeScript
Raw Normal View History

/* eslint-disable react/no-danger */
interface Props {
body: string;
}
2022-05-12 08:31:31 +02:00
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export default function ChatActionMessage(props: Props) {
const { body } = props;
return <div dangerouslySetInnerHTML={{ __html: body }} />;
}