@conduction/components
Version:
React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)
29 lines (28 loc) • 868 B
TypeScript
/// <reference types="react" />
export interface NotificationPopUpProps {
title: string;
description?: string;
customContent?: JSX.Element;
isVisible: boolean;
hide: () => void;
primaryButton: {
label: string;
handleClick: () => any;
icon?: JSX.Element;
layoutClassName?: string;
};
secondaryButton?: {
label: string;
handleClick: () => any;
href: string;
icon?: JSX.Element;
layoutClassName?: string;
};
layoutClassName?: string;
}
export declare const NotificationPopUp: ({ title, description, isVisible, hide, primaryButton, secondaryButton, layoutClassName, customContent, }: NotificationPopUpProps) => JSX.Element | null;
export declare const NotificationPopUpController: () => {
isVisible: boolean;
show: () => void;
hide: () => void;
};