nillys-react-table-library
Version:
Responsive table library for React.js
29 lines (26 loc) • 1.08 kB
TypeScript
import { ReactElement } from 'react';
interface INRTLProps {
datas: INRTL;
headerBackgroundColor?: string;
headerHoverBackgroundColor?: string;
textColor?: string;
rowColor?: string;
rowHoverColor?: string;
hoverTextColor?: string;
disabledButtonColor?: string;
columnSortingColor?: string;
columnSortingFullFilledColor?: string;
showSearchBar?: boolean;
showItemsPerPageSelector?: boolean;
showPagination?: boolean;
showPreviousNextButtons?: boolean;
enableColumnSorting?: boolean;
itemsPerPageOptions?: number[];
language?: "En" | "Fr" | string;
}
interface INRTL {
tableHead: string[];
tableBody: string[][];
}
declare function NRTL({ datas, headerBackgroundColor, headerHoverBackgroundColor, textColor, rowColor, rowHoverColor, hoverTextColor, columnSortingColor, columnSortingFullFilledColor, disabledButtonColor, showSearchBar, showItemsPerPageSelector, showPagination, showPreviousNextButtons, enableColumnSorting, itemsPerPageOptions, language, }: INRTLProps): ReactElement;
export { NRTL };