sword-grid
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

sword-grid

high performance react grids

NPM JavaScript Style Guide

Install

npm install --save sword-grid

Usage

import React, { Component } from 'react'

import SwordGrid from 'sword-grid'
import 'sword-grid/dist/index.css'

class Example extends Component {
  render() {
    return <SwordGrid
      columnDefs={[
        { headerName: "Make", field: "make" },
        { headerName: "Model", field: "model" },
        { headerName: "Price", field: "price" }
      ]}
      rowData={[
        { make: "Toyota", model: "Celica", price: 35000 },
        { make: "Ford", model: "Mondeo", price: 32000 },
        { make: "Porsche", model: "Boxter", price: 72000 }
      ]}
    />
  }
}

License

MIT © marcello-oliveira

Readme

Keywords

none

Package Sidebar

Install

npm i sword-grid

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.2 kB

Total Files

9

Last publish

Collaborators

  • marcello0liveira