文件名称:use-hooks-react:用钩
文件大小:7KB
文件格式:ZIP
更新时间:2024-06-15 21:38:30
JavaScript
用钩React 该项目仍处于测试阶段,请谨慎使用! :smiling_face_with_horns: 安装 $ npm install use-hooks-react 用法 import { useModal , usePage , useResize , useSearch , useBasicResize } from 'use-hooks-react' ... const [ visible , current , openModal , closeModal ] = useModal ( ) const [ list , pageInfo , loading , setList , setPageInfo , setLoading ] = usePage ( ) const [ attribute ] = useResize ( ) const [ refresh , params , setRefresh , setPa
【文件预览】:
use-hooks-react-master
----yarn.lock(2KB)
----src()
--------index.d.ts(1KB)
--------hooks()
--------index.js(354B)
----README.md(3KB)
----.gitignore(17B)
----package.json(597B)