owncast/web/components/chat/ChatActionMessage/ChatActionMessage.tsx

14 lines
359 B
TypeScript
Raw Normal View History

2022-07-15 06:12:42 +03:00
import s from './ChatActionMessage.module.scss';
/* 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 }} className={s.chatAction} />;
}