phx-react
Version:
PHX REACT
11 lines (10 loc) • 375 B
TypeScript
import React from 'react';
export interface NotificationsProps {
className?: string;
show?: boolean;
type?: 'add' | 'edit' | 'delete' | 'custom' | '';
customMessage?: string;
failure?: boolean;
onHide?: any;
}
export declare const PHXNotifications: ({ className, show, type, onHide, failure, customMessage }: NotificationsProps) => React.JSX.Element;