@stephane1920/ts-advanced-table-react
v1.0.6
Published
Installation: Run the following command: `npm install @stephane1920/ts-dropdown-react`
Downloads
24
Maintainers
Readme
Advance Table Data
An advanced table data in typescript.
From project 14 OpenClassrooms, react app developer
Installation
npm install @stephane1920/ts-advanced-table-react
oryarn add @stephane1920/ts-advanced-table-react
Usage Advanced TableData
import React from 'react';
import ReactDOM from 'react-dom/client';
import TableData from '@stephane1920/ts-advanced-table-react';
const SomeComponent = () => {
return (
<div>
<TableData listObjectsData={listObject} listLegend={listLegend}/>
</div>
)
};
Props
|Label|Type|Required|Default|
|:----|:----:|:------:|:----:|
|listObjectsData| Object[] | Yes | N/A |
|listLegend| TableDataLegend[] | Yes | N/A |
|lang| string | No | 'EN-en'
|
|color| string | No | 'grey'
|
|textColor| string | No | N/A |
|className| string | No | N/A |
License
ISC