20 lines
523 B
TypeScript
20 lines
523 B
TypeScript
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}` }}
|
|
/>
|
|
);
|
|
}; |