import React, { createContext } from 'react';

const LayersDataContext = createContext({});

function LayersDataProvider({ layers, globalLayers, ...props }) {
  return <LayersDataContext.Provider value={{ layers, globalLayers }} {...props} />;
}

export { LayersDataContext, LayersDataProvider };
