react-smart-data-table
Version:
A smart data table component for React.js meant to be configuration free
28 lines (27 loc) • 1.27 kB
TypeScript
export declare const DEFAULT_DATA_KEY = "data";
export declare const DEFAULT_IMG_ALT = "URL detected by the renderer";
export declare const DEFAULT_NO_WORD = "No";
export declare const DEFAULT_YES_WORD = "Yes";
export declare const DEFAULT_SELECT_ALL_WORD = "Select All";
export declare const DEFAULT_UNSELECT_ALL_WORD = "Unselect All";
export declare const ERROR_INVALID_DATA = "Data type is invalid, expected string or array !";
export declare const ERROR_INVALID_RESPONSE = "Response type is invalid, expected JSON !";
export declare const ERROR_INVALID_SAMPLING_RANGE = "Sampling percentage should be withing the [0, 100] range.";
export declare const GENERIC_ERROR_MESSAGE = "Something went wrong !";
export declare const ORDER_ASC = "ASC";
export declare const ORDER_DESC = "DESC";
export declare const PAGINATION_ELLIPSIS = "...";
export declare const PAGINATION_FIRST = "<<";
export declare const PAGINATION_LAST = ">>";
export declare const PAGINATION_NEXT = ">";
export declare const PAGINATION_PREVIOUS = "<";
export declare const STR_FALSE = "false";
export declare const STR_ZERO = "0";
export declare const defaultHeader: {
key: string;
text: string;
invisible: boolean;
sortable: boolean;
filterable: boolean;
isImg: boolean;
};