This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-prime-motc-crudtable

0.1.2 • Public • Published

react-prime-motc-crudtable

Source code at https://github.com/carie8655/react-prime-motc-crudtable

Installation

npm install --save react-prime-motc-crudtable

or

yarn add react-prime-motc-crudtable

Usage

import React from 'react';
import MOTCCRUDTable from 'react-prime-motc-crudtable';

function MOTCCRUDTableDemo(){
    return(
        <React.Fragment>
            <div>
                <MOTCCRUDTable />
            </div>
        </React.Fragment>
    )
}

export default MOTCCRUDTableDemo;

Props

Name Type Default
title 'string' ''
footer 'React Component' null
tableData 'array' []
tableColumns 'array' []
rowKey 'string' ''
rows 'number' 10
columnWidth 'number' 150
showCreate 'boolean' []
showEdit 'boolean' false
showDelete 'boolean' false
showDownload 'boolean' false
isMobile 'boolean' false
customAction 'function' () => React.Component
customHeader 'function' () => React.Component
noAction 'boolean' false
actionWidth 'number' 150
onSubmit 'function' (values, type, callback, loading) => {}
FormChild 'React Component' null
formProps 'object' {}
selectionMode 'string' null
selection 'array' null
onSelectionChange 'function' () => {}

Readme

Keywords

Package Sidebar

Install

npm i react-prime-motc-crudtable

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

1.66 MB

Total Files

8

Last publish

Collaborators

  • carie8655
  • kaykai