feat: add telegram-style resource stream
This commit is contained in:
9
src/components/messageStream/DaySeparator.tsx
Normal file
9
src/components/messageStream/DaySeparator.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
export function DaySeparator({ label }: { label: string }) {
|
||||
return (
|
||||
<div className="sticky top-[58px] z-[5] flex justify-center py-2">
|
||||
<span className="rounded-full bg-ark-panel/80 px-3 py-1 text-xs text-neutral-300 backdrop-blur">
|
||||
{label}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user