import { FunctionalComponent, h } from "preact";
import * as style from "./style.css";
import { Project } from "../../models/project";

export interface FinancialPreviewProps {
    project: Project
}

const FinancialPreview: FunctionalComponent<FinancialPreviewProps> = ({ project }) => {
    return (
        <div class="table-container">
            <table class="table is-bordered is-striped is-fullwidth">
                <thead>
                    <tr>
                        <th colSpan={2}>Prévisionnel financier</th>
                    </tr>
                    <tr>
                        <th>Temps</th>
                        <th>Coût</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Maximum</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>Minimum</td>
                        <td></td>
                    </tr>
                </tbody>
            </table>
        </div>
    );
};

export default FinancialPreview;
