UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

20 lines (19 loc) 787 B
import { CreateToasterReturn } from '@ark-ui/react/toast'; import { NotifyOptionsType, UseNotificationCenterReturn } from './types'; /** * This module contains an abstraction of the Notification parts. * @module 'notification/center' */ export declare function getEmphasis(type: NotifyOptionsType): "high" | "low"; export interface NotificationCenterProps { toaster?: CreateToasterReturn; } /** * The NotificationCenter component is an abstraction for the Notification * component. It manages displaying all the toasts in the center. */ export declare function NotificationCenter(props: NotificationCenterProps): import("react/jsx-runtime").JSX.Element; /** * @deprecated use `toaster` instead */ export declare function useNotificationCenter(): UseNotificationCenterReturn;