import { Accessor, For } from "solid-js" import { Cell } from "./Cell"; import { TableStore, ColumnProps } from '.'; type HeadProps = { data: TableStore, sticky?: boolean } export function Head(props: HeadProps) { const headStyle: any = () => ({ 'position': props.sticky ? 'sticky' : '', 'top': 0, 'z-index': 2 }); return {(col: ColumnProps, index: Accessor) => { return }} }