library-mk
v1.0.1
Published
Made with create-react-library
Downloads
3
Readme
library-mk
Made For MKsolutions
Install
npm install --save library-mk
Usage
import React, { Component } from 'react'
import { GenericTableMk } from 'library-mk'
const headerFake = [
{
key: 'id',
name: 'id',
size: 10,
},
{
key: 'name',
name: 'Name',
size: 25,
}
]
const dataFake = [
{id:'1', name :'User 1'},
{id:'2', name :'User 2'}
]
class Example extends Component {
render() {
return <GenericTableMk headerList={headerFake} tableList={dataFake} onClickItem={function} />
}
}