concis
Version:
Concis Component library for PC
12 lines (11 loc) • 541 B
TypeScript
import { NotificationProps } from './interface';
declare const Notification: {
(props: NotificationProps<string>): JSX.Element;
info(props: string | NotificationProps<string>): void;
success(props: string | NotificationProps<string>): void;
error(props: string | NotificationProps<string>): void;
normal(props: string | NotificationProps<string>): void;
warning(props: string | NotificationProps<string>): void;
loading(props: string | NotificationProps<string>): void;
};
export default Notification;