nextuiq
Version:
NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat
19 lines (18 loc) • 578 B
TypeScript
export interface NotificationProps {
id: number;
avatar: {
src?: string;
fallback: string;
status?: 'online' | 'offline' | 'busy' | 'away';
};
userName: string;
projectName: string;
time: string;
type: 'success' | 'error' | 'warning' | 'info';
message: string;
}
export interface NotificationDropdownProps {
notifications: NotificationProps[];
onViewAll?: () => void;
}
export declare function NotificationDropdown({ notifications, onViewAll }: NotificationDropdownProps): import("react/jsx-runtime").JSX.Element;