bng-react-lib
v1.7.2
Published
bng-react-lib
Downloads
9
Readme
bng-react-lib
bng-react-lib
Install
npm install --save bng-react-lib
Important Notes
MultiGridTable
is replaced by react-virtualized-multi-grid - npmReactSortableTree
is replaced by react-sortable-tree-node - npmVirtualizedSelect
is replaced by react-virtua-select - npmutils
is replaced by bnv-utils - npm
Demo
Click open demo
Usage
import 'bng-react-lib/dist/index.css';
import {
Utils,
VirtualizedTable,
MultiGridTable,
ReactSortableTree,
VirtualizedSelect,
EllipsisTooltip,
SortableVirtualList
} from 'bng-react-lib';
// Utils
const {
// makeDelaySearch
makeDelaySearch,
// search
search,
// numberFormat
LOCALES,
makeNumberFormat,
numberDecimal
} = Utils;
Dependencies
*** Extend from react-virtualized
- MultiGridTable
- VirtualizedTable
*** Extend from react-sortable-tree
- ReactSortableTree
*** Extend from react-sortable-hoc
- SortableVirtualList
Develop
In the project directory, you can run:
Run library
npm install
npm start
Run example
cd ./example
npm install
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Deploy
You run the syntax:
npm run deploy
Publish
You run the syntax:
npm publish
License
MIT © bonnv79