mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
23 lines
456 B
JavaScript
23 lines
456 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>
|
|
<span className='incompatible-packages-count'>{this.count}</span>
|
|
</div>
|
|
)
|
|
}
|
|
}
|