import { ROOT_NODE } from '@craftjs/utils' ; import React from 'react' ; import { LayerOptions } from './interfaces' ; import { LayerContextProvider } from './layers/LayerContextProvider' ; import { LayerManagerProvider } from './manager/LayerManagerProvider' ; export { useLayer } from './layers' ; export const Layers = ( { ... options } ) => { return ( < LayerManagerProvider options = { options } > < LayerContextProvider id = { ROOT_NODE } depth = { 0 } / > < /LayerManagerProvider>); } ;