0.0.4 • Published 4 years ago
table-cms-react v0.0.4
In progress of development. Don't try.
Table-CMS-React
Build simple table with @antd-table
✨ Features
- Define column and row count
- Support custom render.
Install
yarn add table-cms-react
npm install table-cms-react
Usage
import React, { Component } from 'react'
import { TableCms, TableRender } from 'table-cms-react'
// cms
const Example = () => {
return (
<TableCms
defaultSize={
column: 3,
row: 3
}
onChange={(data) => console.log(data)}
/>
);
}
// render
const Example = () => {
return (
<TableRender
data={data}
/>
);
}
Props
defaultSize
onChange
data
License
MIT © 2020