UNPKG

react-ts-tab-lib

Version:

A React Typescript library rendering a Table compenent receiving in props for rows an array of a generic type T (precised when using the component) and for columns an array of objects of type Column<T> precising the displayName, the key of the T type and

7 lines (6 loc) 278 B
import { jsx as _jsx } from "react/jsx-runtime"; import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; import './index.css'; import App from './App'; createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx(App, {}) }));