simpletablemaker
v1.0.2
Published
A lightweight React package to easily create customizable tables with modern designs.
Maintainers
Readme
📊 simple-table-maker
SimpleTableMaker is a lightweight React package for creating dynamic and customizable tables with a clean and modern design. Ideal for developers who want an easy-to-use, plug-and-play solution for rendering tabular data.
📦 Installation
Install the package using the following command:
npm install simpletablemakerMake sure you have React and ReactDOM installed as peer dependencies.
or clone the repository:
git clone https://codeberg.org/BuildSphere/simple-table-maker.git⚙️ Usage
Here's a basic example::
import React from 'react';
import TableGenerator from 'simpletablemaker';
const data = [
{ name: 'Alice', age: 25 },
{ name: 'Bob', age: 30 },
];
const columns = ['name', 'age'];
function App() {
return (
<div>
<h1>Table Example</h1>
<TableGenerator data={data} columns={columns} />
</div>
);
}
export default App;
✅ props
- data (array): Array of objects representing table rows
- columns (array): Array of strings that define the columns to display
💫 features
- Responsive Design – Lightweight, adaptive table layout
- Full Customization – Easily style with your own CSS classes
- Easy to Use – Plug-and-play integration into any React app
🪡 development
To run locally:
01. git clone https://codeberg.org/BuildSphere/simple-table-maker.git
02. cd simple-table-maker
03. npm install
04. npm run build📕 updates
See the UPDATE.me file for changelogs and upcoming features.
📜 license
🧩 creator
@themandalorian
