Type Parameters

  • P = {}

as of recent React versions, function components can no longer be considered 'stateless'. Please use FunctionComponent instead.