【文件属性】:
文件名称:react-native-img-placeholder-component
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-29 16:57:53
JavaScript
react-native-img-placeholder-component
一个带有占位符的React本机图像组件
如果您有任何问题,请随时添加问题!
安装
使用npm
npm i --save react-native-img-placeholder-component
用纱
yarn add react-native-img-placeholder-component
用法
简单的例子
import ImageWithPlaceholder from 'react-native-img-placeholder-component' ;
... .
< ImageWithPlaceholder
useNativeDriver
style = { { width : 100 , height : 100 , borderRadius : 50 } }
pl
【文件预览】:
react-native-img-placeholder-component-main
----.gitignore(13B)
----package.json(764B)
----src()
--------ImageWithPlaceholder()
----LICENSE(1KB)
----index.js(121B)
----README.md(2KB)
----yarn.lock(1KB)