mirror of https://github.com/rancher/ui.git
17 lines
344 B
JavaScript
17 lines
344 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['banner'],
|
|
classNameBindings: ['color'],
|
|
|
|
showIcon: function() {
|
|
let value = this.get('value');
|
|
return value === null || value === undefined;
|
|
}.property('value'),
|
|
|
|
color: 'bg-default',
|
|
icon: 'icon icon-info',
|
|
value: null,
|
|
message: '',
|
|
});
|