import * as React from 'react' ; import { Context } from './context' ; import { IocContext } from '../IocContext' ; export const IocProvider = props => { return ( < Context . Provider value = { props . context || IocContext . DefaultInstance } > { props . children } < /Context.Provider>); } ;