// @flow
import {Component} from 'react'

export type Props = {
  title: ?string,
  onBack?: ?(() => void),
  onCancel?: ?(() => void),
  headerStyle?: ?Object,
}

declare export default function HeaderHoc<P> (WrappedComponent: ReactClass<P>): ReactClass<P & Props>;
