Griddle React 表格组件 项目简介
Griddle 是一款功能强大的 React 表格组件,其 npm 包是 griddle-react,安装方法:npm install griddle-react@alpha界面截图:使用方法:import React from 'react';
import Griddle from 'griddle-react';
var fakeData = [
{
"January": 35,
"February": 20,
"March": 27,
"April": 32,
"May": 23,
"June": 42
},
...
];
<Griddle data={fakeData}/>
import Griddle from 'griddle-react';
var fakeData = [
{
"January": 35,
"February": 20,
"March": 27,
"April": 32,
"May": 23,
"June": 42
},
...
];
<Griddle data={fakeData}/>