npm-tablejson
v1.0.4
Published
---
Downloads
3
Readme
TableComponent
A React component for displaying data in a paginated table format with filtering.
Installation
You can install this component via npm:
npm install npm-tablejson
Usage
import React from 'react';
import TableComponent from 'npm-tablejson';
const MyComponent = () => {
return (
<TableComponent />
);
export default MyComponent;
Description
This component fetches data from a JSON file (tabledata.json
) and displays it in a paginated table format. Users can filter the data by year and navigate through pages.
Props
This component does not accept any props.
License
This project is licensed under the ISC License.