mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
|
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} />;
|
||
|
}
|