没有合适的资源?快使用搜索试试~ 我知道了~
use-reading-time:react一个React钩子,显示可以读取多少时间的内容
共21个文件
js:6个
json:3个
md:3个
需积分: 5 0 下载量 176 浏览量
2021-03-08
15:56:40
上传
评论
收藏 398KB ZIP 举报
温馨提示
一个react钩子,显示可以读取多少时间的内容 安装 使用纱线: yarn add use-reading-time 使用NPM: npm install --save use-reading-time 用法 import React , { useRef } from 'react' import Post from './post' import useReadingTime from 'use-reading-time' const Example = ( ) => { const post = useRef ( ) const { readingTime , wordsCount } = useReadingTime ( post ) return ( < div> { readingTime } min • { wordsCount } wo
资源推荐
资源详情
资源评论
收起资源包目录
use-reading-time-master.zip (21个子文件)
use-reading-time-master
.eslintrc 416B
rollup.config.js 631B
yarn.lock 482KB
src
.eslintrc 36B
index.test.js 8B
index.js 492B
.babelrc 165B
example
public
manifest.json 188B
index.html 703B
yarn.lock 462KB
src
index.css 840B
App.js 464B
post.js 862B
index.js 164B
README.md 102KB
package.json 626B
.editorconfig 147B
license.md 1KB
.gitignore 281B
readme.md 2KB
package.json 3KB
共 21 条
- 1
资源评论
MaDaniel
- 粉丝: 53
- 资源: 4572
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功