import React from 'react';

export type TableHeadProps = {
  size?: string | number;
  style?: React.CSSProperties;
  className?: string;
  isNote?: boolean;
};

export type TableProps = {
  data?: {
    heading: string;
    size?: number | string;
    data: React.ReactNode[];
    // isNote?: boolean;
  }[];
  // dividerPosition?: [];
  className?: string;
  style?: React.CSSProperties;
};

export interface TableCellProps {
  isNote?: boolean;
  heading?: string;
  children?: React.ReactNode;
  className?: string;
  style?: React.CSSProperties;
}

export type TableRowProps = {
  data?: TableCellProps[];
  style?: React.CSSProperties;
  className?: string;
  bold?: boolean;
  // children: React.ReactChildren<TableCellProps>;
};

export type TableHeaderProps = {
  children: React.ReactNode;
  style?: React.CSSProperties;
  className?: string;
};
