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 09:31:31 +03:00
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export default function ChatActionMessage(props: Props) {
const { body } = props;
return <div dangerouslySetInnerHTML={{ __html: body }} />;
}