Advance Table Data
An advanced table data in typescript.
From project 14 OpenClassrooms, react app developer
Installation
npm install @stephane1920/ts-advanced-table-react
or
yarn 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