UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

17 lines (16 loc) 1.92 kB
import { Toast, ToastActionTriggerProps, ToastCloseTriggerProps, ToastDescriptionProps, ToasterProps, ToastRootProps, ToastTitleProps } from '@ark-ui/react/toast'; import { ToastVariantProps } from 'styled-system/recipes'; import { CerberusPrimitiveProps } from '../../system/index'; import { ForwardRefExoticComponent, RefAttributes } from 'react'; export type NotificationProviderProps = ToasterProps; export declare const NotificationProvider: ForwardRefExoticComponent<ToasterProps & RefAttributes<HTMLDivElement>>; export type NotificationRootProps = CerberusPrimitiveProps<ToastRootProps & ToastVariantProps>; export declare const NotificationRoot: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Toast.RootProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<unknown>>; export type NotificationHeadingProps = CerberusPrimitiveProps<ToastTitleProps>; export declare const NotificationHeading: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Toast.TitleProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<unknown>>; export type NotificationDescriptionProps = CerberusPrimitiveProps<ToastDescriptionProps>; export declare const NotificationDescription: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Toast.DescriptionProps & RefAttributes<HTMLDivElement>>, "ref"> & RefAttributes<unknown>>; export type NotificationCloseTriggerProps = CerberusPrimitiveProps<ToastCloseTriggerProps>; export declare const NotificationCloseTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Toast.CloseTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<unknown>>; export type NotificationActionTriggerProps = CerberusPrimitiveProps<ToastActionTriggerProps>; export declare const NotificationActionTrigger: ForwardRefExoticComponent<Omit<CerberusPrimitiveProps<Toast.ActionTriggerProps & RefAttributes<HTMLButtonElement>>, "ref"> & RefAttributes<unknown>>;