fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
16 lines (15 loc) • 825 B
TypeScript
import React from "react";
import { CommonAndHTMLProps } from '../../Element/constants';
export interface NotificationItemCustomProps {
kind?: "info" | "warning" | "error" | "success";
showWhen: boolean;
isDismissible?: boolean;
closeWhen: () => void;
secondsToShowFor?: number;
title?: string;
description?: string;
}
export type NotificationItemElementType = HTMLDivElement;
export type NotificationItemProps = Omit<CommonAndHTMLProps<NotificationItemElementType>, keyof NotificationItemCustomProps> & NotificationItemCustomProps;
export declare const NotificationItem: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLDivElement>, keyof NotificationItemCustomProps> & NotificationItemCustomProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=NotificationItem.d.ts.map