0.0.11 • Published 1 year ago

@rowstack/table v0.0.11

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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 install rowstack-io-rowstack-v0.0.9.tgz

Usage

import React from "react";
import Table from "@rowstack-io/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