mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
23 lines
454 B
JavaScript
23 lines
454 B
JavaScript
/** @babel */
|
|
/** @jsx etch.dom */
|
|
|
|
import etch from 'etch';
|
|
|
|
export default class StatusIconComponent {
|
|
constructor({ count }) {
|
|
this.count = count;
|
|
etch.initialize(this);
|
|
}
|
|
|
|
update() {}
|
|
|
|
render() {
|
|
return (
|
|
<div className="incompatible-packages-status inline-block text text-error">
|
|
<span className="icon icon-bug" />
|
|
<span className="incompatible-packages-count">{this.count}</span>
|
|
</div>
|
|
);
|
|
}
|
|
}
|