UNPKG

json-to-table-mui

Version:

A lightweight React component to render JSON data as a responsive Material UI table with built-in pagination, sorting, and search.

13 lines (12 loc) 341 B
import React from 'react'; interface JsonToTableProps { data: any[]; headerBgColor: string; headerFontColor: string; footerBgColor: string; footerFontColor: string; bodyFontColor: string; onFirstValueClick?: (row: any) => void; } declare const JsonToTable: React.FC<JsonToTableProps>; export default JsonToTable;