mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-19 18:28:42 +00:00
24 lines
349 B
JavaScript
24 lines
349 B
JavaScript
import Polymer from '../polymer';
|
|
|
|
import domainIcon from '../util/domain-icon';
|
|
|
|
export default new Polymer({
|
|
is: 'domain-icon',
|
|
|
|
properties: {
|
|
domain: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
|
|
state: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
},
|
|
|
|
computeIcon(domain, state) {
|
|
return domainIcon(domain, state);
|
|
},
|
|
});
|