/** * @flow * @file Wraps a component with the API context * @author Box */ import * as React from 'react'; import APIContext from './APIContext'; const withAPIContext = (WrappedComponent: React.ComponentType) => React.forwardRef>((props: Object, ref: React.Ref) => ( {api => } )); export default withAPIContext;