mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 22:31:09 +03:00
11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
/* 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 }} />;
|
|
}
|