scan-lib
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

scan-lib

Scanning Library

NPM JavaScript Style Guide

Install

npm install --save scan-lib

Usage

import * as React from 'react'

import { useMyHook } from 'scan-lib'

const Example = () => {
  const { tree, treeLoading, setSelected, selected, setExpanded, expanded, setChecked, checked, getOrderedChildrenById, moveNodes } = useScanTree(ROOT);
  
  return !treeLoading ? (
    <div>
      { JSON.stringify(tree) }
    </div>
  ) : (<>Loading...</>);
}

License

MIT © Lemmur

Readme

Keywords

none

Package Sidebar

Install

npm i scan-lib

Weekly Downloads

3

Version

0.0.8

License

MIT

Unpacked Size

1.03 MB

Total Files

53

Last publish

Collaborators

  • lemmur