import React from 'react';
import { withContext } from './withContext';
export const ExamContext = React.createContext({});
export const withExamContext = withContext(ExamContext, (props) => {
    const { casCountdownDuration, examServerApi } = props;
    return {
        casCountdownDuration: casCountdownDuration || 60,
        examServerApi
    };
});
//# sourceMappingURL=ExamContext.js.map