没有合适的资源?快使用搜索试试~ 我知道了~
use-share:用于触发Web Share API的挂钩(具有后备功能)
共14个文件
json:4个
tsx:2个
ts:1个
需积分: 9 0 下载量 178 浏览量
2021-05-17
05:14:57
上传
评论
收藏 106KB ZIP 举报
温馨提示
useShare-您友好的网络共享API挂钩! 触发Web Share API,然后回退到将值复制到剪贴板。 打包为 。 安装 npm install use-share # or yarn add use-share 用法 这是使用useShare挂钩的方式。 import React from 'react' ; import useShare from 'use-share' ; const ShareButton = ( ) => { const { share , hasShared } = useShare ( { title : 'Check out use-share' , text : 'use-share is a really cool library, you should check it out!' , url : 'htt
资源推荐
资源详情
资源评论
收起资源包目录
use-share-master.zip (14个子文件)
use-share-master
.gitignore 41B
package.json 1KB
src
index.tsx 2KB
LICENSE 1KB
tsconfig.json 528B
types
index.d.ts 198B
.github
workflows
main.yml 834B
README.md 2KB
example
package.json 571B
tsconfig.json 458B
index.html 342B
.npmignore 24B
index.tsx 559B
yarn.lock 260KB
共 14 条
- 1
资源评论
WiwiChow
- 粉丝: 35
- 资源: 4501
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功