@wzx-unreal/react-hooks
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Introduction

这个组件库是react-hooks是我用来封装常用的hooks组件和工具类 文档之后慢慢完整,里面使用了ahooks为基础但是没有完全暴露出来。

工具类

属性 描述
classNames classNames用法一样
clipboard 复制文本
delay 阻塞多长时间 毫秒为单位
fillNBSP 将NBSP填充掉
getHotkeyHandler 处理键盘事件
getStringLength 计算字符长度(中文占2个)
include 对象输出include出现的
is 一堆判断方法
keycode 里面是各个键盘的key和code
scrollIntoView 滚动的一些配置
Omit ts工具类
ValueOrFunc ts工具类

/@wzx-unreal/react-hooks/

    Package Sidebar

    Install

    npm i @wzx-unreal/react-hooks

    Weekly Downloads

    1

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    165 kB

    Total Files

    82

    Last publish

    Collaborators

    • genesisiwzx