import React , { ComponentType } from 'react' ; import { Root } from 'native-base' ; export const withNativeBaseRoot = ( WrappedComponent ) => ( props ) => ( < Root > < WrappedComponent { ... props } / > < /Root>);