import React from 'react';
import {
  onGetIssuesQueueSizeClick,
  onIssuesRefreshClick,
} from './service-actions';

export const IssuesForceRefreshButton = (): JSX.Element => {
  return <button onClick={onIssuesRefreshClick}>Force issues refresh</button>;
};

export const GetIssuesQueueSizeButton = (): JSX.Element => {
  return (
    <button onClick={onGetIssuesQueueSizeClick}>Get issues queue size</button>
  );
};
