UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

21 lines (20 loc) 716 B
/// <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;