import React , { PropsWithChildren } from 'react' ; import { UniversalHooksProvider } from '../lifecycles/universal/provider' ; import { PortalProvider } from '../portal' ; import { Container } from '../container' ; import { ContainerProvider } from './container' ; import { PartialProvider } from '../partial' ; export const GojiProvider = ( { children , container , } ) => ( < ContainerProvider container = { container } > < UniversalHooksProvider > < PortalProvider > < PartialProvider > { children } < /PartialProvider> < /PortalProvider> < /UniversalHooksProvider> < /ContainerProvider>);