function onResultFound(term, result) {
  return {
    type: SHOW_RESULT,
    payload: {
      result,
      term,
    }
  }
}
Handle results found by plugin

@param  {String} term Search term that was used for found results
@param  {Array | Object} result Found results (or result)
@return {Object}  redux action