import React, { FunctionComponent } from "react";
import { ItemPanel } from "./ItemPanel";

export interface EstimationPanelProps {

}

export const EstimationPanel: FunctionComponent<EstimationPanelProps> = () => {
  return (
    <ItemPanel
      title="Mes estimations"
      className="is-primary"
      newItemUrl="/estimations/new"
      items={[]}
      itemKey={(item) => { return item.id }}
      itemLabel={(item) => { return item.id }}
      itemUrl={(item) => { return `/estimations/${item.id}` }}
    />
  );
};