From cc930f42c0ad1e9202a414a56785f634cd8bd6b4 Mon Sep 17 00:00:00 2001 From: NathanPB Date: Tue, 5 Nov 2019 16:21:17 -0300 Subject: [PATCH] Fixed Message className property not working --- src/components/message/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/message/Message.js b/src/components/message/Message.js index eb4adbed04..8413c4e04e 100644 --- a/src/components/message/Message.js +++ b/src/components/message/Message.js @@ -27,7 +27,7 @@ export class Message extends Component { 'p-message-error': this.props.severity === 'error', 'p-message-success': this.props.severity === 'success', 'p-message-icon-only': !this.props.text - }); + }, this.props.className); let icon = classNames('p-message-icon pi pi-fw', { 'pi-info-circle': this.props.severity === 'info',