Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var createNamedContext = function createNamedContext(name) {
var context = createContext();
context.displayName = name;
return context;
};
var createNamedContext$1 = function createNamedContext(name) {
var context = createContext();
context.displayName = name;
return context;
};
import createContext from 'mini-create-react-context';
const HighchartsContext = createContext();
export const { Consumer, Provider } = HighchartsContext;
export default HighchartsContext;
import createContext from 'mini-create-react-context';
const ChartContext = createContext();
export const { Consumer, Provider } = ChartContext;
export default ChartContext;
import createContext from 'mini-create-react-context';
const SeriesContext = createContext();
export const { Consumer, Provider } = SeriesContext;
export default SeriesContext;