Socket
Socket
Sign inDemoInstall

react-export-json-csv

Package Overview
Dependencies
9
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-export-json-csv

A react component to easily Export csv of your json data and rearrange your headers column based on your UI tables order.


Version published
Maintainers
1
Created

Readme

Source

⌗ react-export-json-csv

A react component to easily Export csv of your json data and rearrange your headers column based on your UI tables order.

Live Demo

Coming Soon

Features

  • Create a csv download from json data
  • rearrange Headers
  • Lightweight
  • Easy to use
  • optional filename

Install

Install with npm:

npm i react-export-json-csv

Example Usage

import ExportJsonCsv from 'react-export-json-csv'
...

<ExportJsonCsv headers={headers} items={data}>Export  </ExportJsonCsv>

Props

PropTypeRequirementDefaultDescription
headersarrayrequirednullarray of objects
itemsarrayrequirednullarray of objects
filenamestringoptional"exported.csv"The complete filename
styleobjectoptionalnulluse react inline style

Contributing

Please help provide good data faster! Submit any issues and/or make a pull request!

Keywords

FAQs

Last updated on 19 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc