Skip to content

Commit

Permalink
Merge pull request #1077 from NathanPB/feature/message-classname
Browse files Browse the repository at this point in the history
Fixed #1076 - Message className property not working
  • Loading branch information
mertsincan authored Nov 27, 2019
2 parents c0dcb47 + cc930f4 commit b5e7eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/message/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b5e7eb1

Please sign in to comment.