import { CellWrapper } from "./CellWrapper"; import React from "react"; import { viewportSizeContext } from "../context/ViewportContext"; type IProps = { x: number; y: number; hasError: boolean; children: React.ReactNode; numHeaders: number; isSelectable: boolean; isReadonly: boolean; borderRightColor?: string; }; /** * This is the normal cell component. It is "static" as opposed to the "sticky" * cells in the sticky columns */ export const StaticCell = ({ x, y, numHeaders, hasError, children, isSelectable, isReadonly, borderRightColor, }: IProps) => { const viewportSize = viewportSizeContext.useState(); return ( {children} ); };