ExpDurationContext.tsx 400 Bytes
Newer Older
1
import React from 'react';
2

3
4
5
6
export const ExpDurationContext = React.createContext({
    maxExecDuration: 0,
    execDuration: 0,
    // eslint-disable-next-line @typescript-eslint/no-empty-function
7
8
9
10
    updateOverviewPage: (): void => {},
    maxDurationUnit: 'm',
    // eslint-disable-next-line @typescript-eslint/no-empty-function
    changeMaxDurationUnit: (_val: 'd' | 'h' | 'm'): void => {}
11
});