spinnerWhile = condition =>
  branch(
    condition,
    renderComponent(
      <ActivityIndicator size="large" style={{ marginTop: 100 }} />
    )
  )
Show a loading spinner when a condition is truthy. Used within
spinnerWhileLoading. Accepts a test function and a higher-order component.
@param  {Function} condition - Condition function for when to show spinner
@return {HigherOrderComponent}