import type { PostItem, Notification, OnlineStats } from '../api/types'; interface Props { hot: PostItem[]; notifications: Notification[]; online: OnlineStats | null; onPostClick: (id: number) => void; } export default function RightPanel({ hot, notifications, online, onPostClick }: Props) { const hotList = hot?.slice(0, 8) ?? []; const noticeList = notifications?.slice(0, 6) ?? []; const members = online?.users ?? []; return ( <>
姜十三论坛 拾三一隅,自在交流。轻量社区,专为小圈子打造。