UNPKG

react-hooks-toolbox

Version:

React hooks toolbox

15 lines (14 loc) 427 B
"use strict"; exports.__esModule = true; var fetch_start = exports.fetch_start = function fetch_start() { return { type: "FETCH_START" }; }; var fetch_success = exports.fetch_success = function fetch_success(data) { return { type: "FETCH_SUCCESS", payload: data }; }; var fetch_failure = exports.fetch_failure = function fetch_failure(error) { return { type: "FETCH_FAILURE", error: error }; };