sword-grid
v1.0.0
Published
high performance react grids
Downloads
1
Readme
sword-grid
high performance react grids
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