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

68 lines (67 loc) 4.97 kB
/// <reference types="react" /> import 'regenerator-runtime/runtime'; import Login from './containers/Login'; import StatisticsPlot from './containers/StatisticsPlot'; import EntityForm from './containers/EntityForm'; import HasAccess from './containers/HasAccess'; import DownloadListTable from './containers/download_list/DownloadListTable'; import './style/main.scss'; import { SynapseConstants, SynapseClient } from './utils/'; import FavoritesPage from './containers/FavoritesPage'; import ShowDownloadV2 from './containers/download_list_v2/ShowDownloadV2'; import FullWidthAlert from './containers/FullWidthAlert'; import UserProfileLinks from './containers/user_profile_links/UserProfileLinks'; import ProgrammaticOptions from './containers/table/table-top/ProgrammaticOptions'; import { useSynapseContext } from './utils/SynapseContext'; import { DatasetItemsEditor } from './containers/table/datasets/DatasetItemsEditor'; declare const SynapseContext: { SynapseContextProvider: import("react").FunctionComponent<import("./utils/SynapseContext").SynapseContextProviderProps>; SynapseContextConsumer: import("react").Consumer<import("./utils/SynapseContext").SynapseContextType | undefined>; useSynapseContext: typeof useSynapseContext; }; declare const SynapseComponents: { Login: typeof Login; LoginPage: import("react").FunctionComponent<import("./containers/LoginPage").LoginPageProps>; EntityForm: typeof EntityForm; UserCard: import("react").FunctionComponent<import("./containers/UserCard").UserCardProps>; StatisticsPlot: typeof StatisticsPlot; HasAccess: typeof HasAccess; DownloadListTable: typeof DownloadListTable; EvaluationCard: import("react").FunctionComponent<import("./containers/evaluation_queues/EvaluationCard").EvaluationCardProps>; EvaluationEditorPage: import("react").FunctionComponent<import("./containers/evaluation_queues/EvaluationEditorPage").EvaluationEditorPageProps>; AccessTokenPage: import("react").FunctionComponent<import("./containers/personal_access_token/AccessTokenPage").AccessTokenPageProps>; AccountLevelBadge: import("react").FunctionComponent<import("./containers/AccountLevelBadge").AccountLevelBadgeProps>; TermsAndConditions: import("react").FunctionComponent<import("./containers/TermsAndConditions").TermsAndConditionsProps>; PageProgress: import("react").FunctionComponent<import("./containers/PageProgress").PageProgressProps>; ProjectViewCarousel: import("react").FunctionComponent<import("./containers/home_page/project_view_carousel/ProjectViewCarousel").ProjectViewCarouselProps>; SynapseHomepage: import("react").FunctionComponent<import("./containers/SynapseHomepage").SynapseHomepageProps>; EntityFinder: import("react").FunctionComponent<import("./containers/entity_finder/EntityFinder").EntityFinderProps>; ErrorPage: import("react").FunctionComponent<import("./containers/ErrorPage").ErrorPageProps>; EntityBadgeIcons: (props: import("./containers/EntityBadgeIcons").EntityBadgeIconsProps) => JSX.Element; DownloadCartPage: import("react").FunctionComponent<import("./containers/download_list_v2/DownloadCartPage").DownloadCartPageProps>; ShowDownloadV2: typeof ShowDownloadV2; DownloadConfirmation: import("react").FunctionComponent<import("./containers/download_list/DownloadConfirmation").DownloadConfirmationProps>; FullWidthAlert: typeof FullWidthAlert; SchemaDrivenAnnotationEditor: (props: import("./containers/entity/annotations/SchemaDrivenAnnotationEditor").SchemaDrivenAnnotationEditorProps) => JSX.Element; SynapseNavDrawer: import("react").FunctionComponent<import("./containers/SynapseNavDrawer").SynapseNavDrawerProps>; FavoritesPage: typeof FavoritesPage; EntityModal: import("react").FC<import("./containers/entity/metadata/EntityModal").EntityModalProps>; ProgrammaticOptions: typeof ProgrammaticOptions; SynapseToastContainer: import("react").FunctionComponent<{}>; displayToast: (message: string, variant?: "success" | "info" | "warning" | "danger" | undefined, toastMessageOptions?: { title?: string | undefined; autoCloseInMs?: number | undefined; primaryButtonText?: string | undefined; onPrimaryButtonClick?: (() => void) | undefined; secondaryButtonText?: string | undefined; secondaryButtonHref?: string | undefined; } | undefined) => void; IconSvg: import("react").FunctionComponent<import("./containers/IconSvg").IconSvgProps>; UserProfileLinks: typeof UserProfileLinks; PlotlyWrapper: import("react").FC<import("./containers/PlotlyWrapper").PlotlyWrapperProps>; DatasetItemsEditor: typeof DatasetItemsEditor; EntityTypeIcon: import("react").FC<Omit<import("@fortawesome/react-fontawesome").FontAwesomeIconProps, "icon"> & { type: import("./utils/synapseTypes").EntityType; }>; }; export { SynapseComponents, SynapseConstants, SynapseClient, SynapseContext };