Skip to content

Commit 88cad0b

Browse files
authored
Add react elements support for the alert component (#2797)
1 parent 8e15e81 commit 88cad0b

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/components/Alert

1 file changed

+1
-1
lines changed

packages/app/src/app/components/Alert/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Container, Title, Text, Buttons } from './elements';
44

55
interface IAlertProps {
66
title: string;
7-
body: string;
7+
body: string | React.ReactNode;
88
confirmMessage?: string;
99
onCancel: (event: React.MouseEvent<HTMLButtonElement>) => void;
1010
onConfirm: (event: React.MouseEvent<HTMLButtonElement>) => void;

0 commit comments

Comments
 (0)