mfg-ui-components
Version:
React UI library with reusable components
25 lines (24 loc) • 975 B
TypeScript
import React from "react";
import "./Table.scss";
export interface Props {
cols: Array<any>;
data: Array<any>;
bordered?: boolean;
hoverable?: boolean;
striped?: boolean;
isDark?: boolean;
searchable?: boolean;
customClass?: string;
customId?: string;
tableCaption?: string;
sortable?: boolean;
tableStyle?: React.CSSProperties;
tableHeadStyle?: React.CSSProperties;
tableHeadCellStyle?: React.CSSProperties;
tableHeadRowStyle?: React.CSSProperties;
tableBodyStyle?: React.CSSProperties;
tableBodyCellStyle?: React.CSSProperties;
tableBodyRowStyle?: React.CSSProperties;
}
declare const Table: ({ cols, data, bordered, hoverable, striped, isDark, searchable, customClass, customId, tableCaption, sortable, tableStyle, tableHeadStyle, tableHeadCellStyle, tableHeadRowStyle, tableBodyStyle, tableBodyCellStyle, tableBodyRowStyle }: Props) => import("react/jsx-runtime").JSX.Element;
export default Table;