synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
21 lines (20 loc) • 716 B
TypeScript
/// <reference types="react" />
import { AlertProps } from 'react-bootstrap';
export interface FullWidthAlertProps extends AlertProps {
variant: string;
title?: string;
description?: string;
primaryButtonText?: string;
onPrimaryButtonClick?: () => void;
secondaryButtonText?: string;
secondaryButtonHref?: string;
onClose?: () => void;
autoCloseAfterDelayInSeconds?: number;
isGlobal?: boolean;
}
/**
* Nav bar item, displayed when files have been added to the Download Cart.
* This must be configured with the URL of a page dedicated to showing the Download Cart.
*/
declare function FullWidthAlert(props: FullWidthAlertProps): JSX.Element;
export default FullWidthAlert;