UNPKG

@desci-labs/frontend-components

Version:

A library for commonly used components on the DeSci Frontend web apps

28 lines 1.75 kB
import { FocalAuthorsData, RefereeFinderData } from '../interfaces'; import { ResearchObjectV1 } from '@desci-labs/desci-models'; export interface RefereeFinderManuscriptDetailsProps { /** The URL of the ephemeral manuscript preview image */ ephemeralManuscriptPreviewUrl?: string; /** The referee finder data result */ refereeFinderDataResult: RefereeFinderData; /** The max number of authors to display in the authors list */ maxAuthorDisplay: number; /** The function to set the max author display in the authors list */ setMaxAuthorDisplay: (maxAuthorDisplay: number) => void; /** The function to handle the author click */ handleAuthorClick: (author: FocalAuthorsData) => void; /** Whether to show the change file button */ showChangeFileButton?: boolean; /** The manifest of the uploaded file */ manifest?: ResearchObjectV1; /** Whether the manuscript is being uploaded */ isUploadingFile?: boolean; /** Whether the uploaded file name is being retrieved */ loadingUploadedFileName?: boolean; /** Whether the referee finder result is being retrieved */ loadingRefereeFinderResult?: boolean; /** The function to handle the manuscript upload */ handleManuscriptUpload?: (e: React.ChangeEvent<HTMLInputElement>) => void; } export declare const RefereeFinderManuscriptDetails: ({ ephemeralManuscriptPreviewUrl, refereeFinderDataResult, maxAuthorDisplay, setMaxAuthorDisplay, handleAuthorClick, showChangeFileButton, manifest, isUploadingFile, loadingUploadedFileName, loadingRefereeFinderResult, handleManuscriptUpload, }: RefereeFinderManuscriptDetailsProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RefereeFinderManuscriptDetails.d.ts.map