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