import clsx from 'clsx'; import React from 'react'; type HealthStatus = 'health' | 'error' | 'warning' | 'none'; interface HealthBarProps { beats: { title?: string; status: HealthStatus }[]; } export const HealthBar: React.FC = React.memo((props) => { return (
{props.beats.map((beat, i) => (
))}
); }); HealthBar.displayName = 'HealthBar';