import React, { createContext } from 'react';

const ComponentsDataContext = createContext([]);

function ComponentsDataProvider({ layers, ...props }) {
  return <ComponentsDataContext.Provider value={layers} {...props} />;
}

export { ComponentsDataContext, ComponentsDataProvider };
