react-prevent-longpress-save
v1.0.4
Published
prevent long press save img in mobile
Downloads
6
Readme
react-prevent-longpress-save
prevent long press for saving img in mobile
阻止移动端下的长按保存图片
usage
import BanPressImg from 'react-prevent-longpress-save';
import ImageUrl from '../../images/demo.png';
<BanPressImg className="className" src={ImageUrl} />