UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

17 lines 1.03 kB
import React, { ReactNode } from 'react'; import { AlertButtonConfig, FullWidthAlertProps } from '../FullWidthAlert/FullWidthAlert'; declare const OrientationBannerNameStrings: readonly ["Challenges", "CohortBuilder", "DataAccessManagement", "Datasets", "Discussions", "Docker", "Favorites", "Files", "Following", "Projects", "Tables", "Teams", "TrashCan", "Wikis", "Donate", "UnderConstruction"]; export type OrientationBannerName = (typeof OrientationBannerNameStrings)[number]; export declare function getOrientationBannerKey(name: OrientationBannerName): string; export declare const ORIENTATION_BANNER_KEYS: string[]; export interface OrientationBannerProps { name: OrientationBannerName; title: string; text: ReactNode; primaryButtonConfig?: AlertButtonConfig; secondaryButtonConfig?: AlertButtonConfig; sx?: FullWidthAlertProps['sx']; } declare function OrientationBanner(props: OrientationBannerProps): React.ReactNode; export default OrientationBanner; //# sourceMappingURL=OrientationBanner.d.ts.map