import React from 'react' ; import { SlateNodeContextProvider } from './SlateNodeContext' ; export const Slate = ( { children , editor , enabled } ) => { return ( < SlateNodeContextProvider editor = { editor } enabled = { enabled } > { children } < /SlateNodeContextProvider>); } ;