import React from "react";
export type Props = {
unread: boolean;
count: number;
};
/**
* Overlays unreads in current SVG
*/
export function Unreads({ unread, count }: Props) {
if (count > 0) {
return (
<>
{count < 10 ? count : "9+"}
>
);
}
if (unread) {
return ;
}
return null;
}