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

20 lines
523 B
TypeScript

import React, { FunctionComponent } from "react";
import { ItemPanel } from "./ItemPanel";
export interface ProjectModelPanelProps {
}
export const ProjectModelPanel: FunctionComponent<ProjectModelPanelProps> = () => {
return (
<ItemPanel
title="Mes modèles de projet"
className="is-info"
newItemUrl="/models/new"
items={[]}
itemKey={(item) => { return item.id }}
itemLabel={(item) => { return item.id }}
itemUrl={(item) => { return `/models/${item.id}` }}
/>
);
};