Skip to content

Commit

Permalink
Fixed Message className property not working
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanPB committed Nov 5, 2019
1 parent fdecab1 commit cc930f4
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 cc930f4

Please sign in to comment.