phx-react
Version:
PHX REACT
13 lines (12 loc) • 366 B
TypeScript
import React from 'react';
interface NotificationProps {
show: boolean;
setShow: (boolean: boolean) => void;
title: string;
description: string;
handleClose: () => void;
type: 'success' | 'error' | 'info';
autoHideTimeout: number;
}
declare function Notification(props: NotificationProps): React.JSX.Element;
export default Notification;