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

15 lines 1.07 kB
import { EvaluationRound } from '@sage-bionetworks/synapse-types'; import { Dayjs } from 'dayjs'; import { EvaluationRoundInput, EvaluationRoundLimitInput } from './input_models/models'; export type EvaluationRoundEditorProps = { evaluationRoundInput: EvaluationRoundInput; onDelete: () => void; onSave: (evaluationRound: EvaluationRoundInput) => void; }; export declare function EvaluationRoundEditor({ evaluationRoundInput, onSave, onDelete, }: EvaluationRoundEditorProps): import("react/jsx-runtime").JSX.Element; export declare const HelpersToTest: { disallowCalendarDateBefore: (date: Dayjs) => (currentDate: Dayjs) => boolean; determineRoundStatus: (roundStart: Dayjs | string, roundEnd: Dayjs | string) => import("react/jsx-runtime").JSX.Element; convertInputsToEvaluationRound: (evaluationRoundInputProp: EvaluationRoundInput, startDate: string | Dayjs | null, endDate: string | Dayjs | null, totalSubmissionLimit: string, advancedLimits: EvaluationRoundLimitInput[]) => EvaluationRound; }; //# sourceMappingURL=EvaluationRoundEditor.d.ts.map