react-commons-ts
v1.4.2
Published
Made with create-react-library
Downloads
15
Readme
react-commons-ts
Made with create-react-library
Install
npm install --save react-commons-ts
Usage
Some constant, common types, hooks and utils:
common_constant,
common_types,
// hooks
//
useMounted,
useBool,
useForceUpdate,
useHold,
//
useDisplayBlockToNone,
useMouseDownToWindowUp,
useToggleDataset,
// utils
//
formatLocalDateString,
formatLocalDateTimeString,
getTimeAndUnit,
unitTime,
unitTimeJustNow,
//
formatNum,
unitNumber,
//
getClassModuleCss,
waitingToDoLast,
toggleDataset
License
MIT ©