Preview:
  return (dispatch: Dispatch) => {
    dispatch({ type: EXPORT_SIMS_REQUEST });
    setTimeout(() => {
      const result: MultiStatusResult = {
        succeeded: ids,
        failed: ['123123', '4565', '4565', '4565', '4565', '4565', '4565', '4565', '4565'],
        allSucceeded: false,
        message: null,
      };
      const result2: ProblemDetails = {
        detail: 'Test',
        status: 400,
        title: 'Something went wrong',
      };
      // dispatch({ type: EXPORT_SIMS_RECEIVE, payload: result });
      dispatch({ type: EXPORT_SIMS_ERROR, payload: result2 });
    }, 2000);
  };
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter