picache
v1.0.13
Published
A React Native component to automatically cache images.
Downloads
327
Readme
Picache
A React Native component that will automatically cache images
Usage
yarn add picache
import Picache from "picache";
const App = () => (
<Picache
style={{ height: 200, width: 200 }}
uri="http://via.placeholder.com/200x200"
/>
);
I use uri
instead of source
, but other than that you can pass any prop that Image would accept.