guesstimate/client/src/components/DashboardPage/EstimationPanel.tsx

20 lines
523 B
TypeScript
Raw Normal View History

2020-08-09 10:51:02 +02:00
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}` }}
/>
);
};