XVIZWorkersStatus = ({workers, style = {}}) =>
  Object.entries(workers).map(([workerId, {lastUpdated, isActive}]) => (
    <div key={workerId} style={{...STYLES.WORKERS.CONTAINER, ...style.container}}>
      <div style={{...STYLES.WORKERS.TITLE, ...style.title}}>
        <h3>Worker {workerId}</h3>
        <ActivityTag isActive={isActive} style={style.tag} />
      </div>
      <div>
        {lastUpdated
          ? `Last active at ${_formatLastUpdated(lastUpdated)}`
          : 'This worker has never been active.'}
      </div>
    </div>
  ))
XVIZ workers status view component.
@param {Array<Worker>} workers - Workers status.
@param {Object} style - Style overrides.
@param {Object} style.container - Style of the outer container.
@param {Object} style.title - Style of the title.