@types/react-js-table-with-csv-dl
TypeScript icon, indicating that this package has built-in type declarations

0.9.3 • Public • Published

Installation

npm install --save @types/react-js-table-with-csv-dl

Summary

This package contains type definitions for react-js-table-with-csv-dl (https://github.com/jciccio/react-table-with-csv-download).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-js-table-with-csv-dl.

index.d.ts

import * as React from "react";

export interface TableViewerProps {
    /**
     * An array of objects. The key will be used for the table headers.
     */
    content: any[];

    /**
     * An array of strings with the headers you want to display
     */
    headers: string[];

    /**
     * Min table desired height
     */
    minHeight: number;

    /**
     * Max table desired height
     */
    maxHeight: number;

    /**
     * if you want to have a download button
     */
    activateDownloadButton?: boolean;

    topPaginator?: boolean;
    headerCss?: React.CSSProperties;
    titleStyle?: React.CSSProperties;
    bodyCss?: React.CSSProperties;
    filename?: string;
    renderLineNumber?: boolean;
    reverseLineNumber?: boolean;
    pagination?: number;
    pageBoxStyle?: React.CSSProperties;
    activePageBoxStyle?: React.CSSProperties;
    maxPagesToDisplay?: number;
    downloadButtonStyle?: React.CSSProperties;
    sortColumn?: string;
    encoding?: string;
    successColor?: string;
    warningColor?: string;
    errorColor?: string;
}

export default class TableViewer extends React.Component<TableViewerProps> {}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by manuzcheruz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-js-table-with-csv-dl

Weekly Downloads

5

Version

0.9.3

License

MIT

Unpacked Size

5.08 kB

Total Files

5

Last publish

Collaborators

  • types