@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
26 lines (25 loc) • 809 B
TypeScript
import React from 'react';
import { NotificationFilterProps } from '../NotificationFilter';
type NotificationsHeaderProps = {
/**
* Is in mobile size.
*/
isMobile: boolean;
/**
* No unread notifications
*/
disableMarkAllAsRead: boolean;
/**
* Mark all as read callback function
*/
onMarkAllAsRead: React.MouseEventHandler<HTMLButtonElement>;
/**
* Callback function when use clicked the close button in mobile mode,
* @returns void
*/
onClose?: () => void;
};
export type INotificationsHeader = NotificationFilterProps & NotificationsHeaderProps;
export declare const prefix = "NexusNotificationsHeader";
export declare const NotificationsHeader: (props: INotificationsHeader) => import("react/jsx-runtime").JSX.Element;
export {};