bng-react-lib

1.7.2 • Public • Published

bng-react-lib

bng-react-lib

NPM JavaScript Style Guide

Install

npm install --save bng-react-lib

Important Notes

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

Readme

Keywords

none

Package Sidebar

Install

npm i bng-react-lib

Weekly Downloads

0

Version

1.7.2

License

MIT

Unpacked Size

1.25 MB

Total Files

9

Last publish

Collaborators

  • ngovanbon16