UNPKG

@kbfront/kb-ui

Version:

KB React UI Library

23 lines (22 loc) 593 B
import { ReactNode, FC, ReactNodeArray } from "react"; import TableCol from "./Col"; import TableRow from "./Row"; import "./index.scss"; interface IHeader { header: Array<IThead>; className?: string; children: ReactNode | ReactNodeArray; dataSource?: Object | any; responsive?: boolean; fixed?: boolean; height?: string; sort?: boolean; initialData?(param?: any): void; } export interface IThead { name: ReactNode | ReactNodeArray | string; key?: string; flex?: number; } declare const Table: FC<IHeader>; export { Table, TableRow, TableCol };