npm.io
1.2.4 • Published 2 years ago

@types/react-json-to-csv

Licence
MIT
Version
1.2.4
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/react-json-to-csv

Summary

This package contains type definitions for react-json-to-csv (https://github.com/coston/react-json-to-csv).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-json-to-csv.

index.d.ts

import * as React from "react";

export interface CsvDownloadProps extends React.HTMLAttributes<HTMLButtonElement> {
    data: object | object[];
    filename?: string | undefined;
    delimiter?: string | undefined;
    headers?: string[] | undefined;
}

declare function CsvDownload(props: CsvDownloadProps): React.JSX.Element;

export default CsvDownload;

Additional Details

  • Last updated: Wed, 06 Dec 2023 0709 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Nui Rattapon, and Coston Perkins.