workspace with decoupled nostr package
This commit is contained in:
7
packages/app/src/Element/UnreadCount.tsx
Normal file
7
packages/app/src/Element/UnreadCount.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import "./UnreadCount.css";
|
||||
|
||||
const UnreadCount = ({ unread }: { unread: number }) => {
|
||||
return <span className={`pill ${unread > 0 ? "unread" : ""}`}>{unread}</span>;
|
||||
};
|
||||
|
||||
export default UnreadCount;
|
Reference in New Issue
Block a user