Skip to content

Commit

Permalink
Merge pull request #8078 from marmelab/fix-notifacation-multiline
Browse files Browse the repository at this point in the history
Fix: `multiLine` prop is not working in `Notification`
  • Loading branch information
antoinefricker authored Aug 17, 2022
2 parents 16181ad + be726d6 commit 6820ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/layout/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const Notification = (props: NotificationProps) => {
ContentProps={{
className: clsx(NotificationClasses[messageInfo.type || type], {
[NotificationClasses.multiLine]:
messageInfo.multiLine || multiLine,
messageInfo.notificationOptions.multiLine || multiLine,
}),
}}
action={
Expand Down

0 comments on commit 6820ebd

Please sign in to comment.