import React from "react"; import { Cell } from "../Cell"; interface ColumnProps { hours: Array; handleClick?: (e: React.MouseEvent) => void; children?: React.ReactNode; colIndex?: number; isEventable?: boolean; } export const Column = ({ hours, colIndex, isEventable, children, ...rest }: ColumnProps) => { return (
{hours.map((hour, index) => ( ))} {children}
); };