npm.io
0.0.39 • Published 2 years ago

suparow

Licence
Version
0.0.39
Deps
5
Size
175 kB
Vulns
0
Weekly
0

Rowstack - React Database Component

Welcome to Rowstack! Our goal is to be the most performant, feature-rich and best looking database component for React.

Getting started

$ npm i rowstack

Usage

import React from "react";
import Table from "rowstack"

function App() {
  const columns = [
    { id: 0, name: "Name" },
    { id: 1, name: "Description" },
  ];

  const data = [
	  { id: 0, 0: "Sam Altman", 1: "CEO @ Open AI" },
	  { id: 1, 0: "Elon Musk", 2: "CEO @ Tesla" },
	  { id: 2, 0: "Jeff Bezos", 3: "Founder, Amazon" },
  ];

  return (
    <div style={{width: 960, height: 720}}>
      <Table columns={columns} data={data} />
    </div>
  )
}

Need help?

Join the Discord at https://rowstack.io/discord