mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import Badge from 'sentry/components/badge';
|
|
|
|
function ReplayCountBadge({count}: {count: undefined | number}) {
|
|
const display = count && count > 50 ? '50+' : count ?? null;
|
|
return <Badge text={display} />;
|
|
}
|
|
|
|
export default ReplayCountBadge;
|