import React from 'react';
export const AnnotationContext = React.createContext(false);
// eslint-disable-next-line prefer-arrow-callback
export const AnnotationProvider = React.memo(function AnnotationProvider({ children, annotationsEnabled }) {
    return React.createElement(AnnotationContext.Provider, { value: annotationsEnabled !== null && annotationsEnabled !== void 0 ? annotationsEnabled : false }, children);
});
//# sourceMappingURL=AnnotationProvider.js.map