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.