synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
17 lines • 1.03 kB
TypeScript
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