1.0.7 • Published 2 years ago

expo-cache-image v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

expo-cache-image

Super fast cached image component for react-native applications built with expo

Usage

Add to project

Installation

Install my-project with npm or yarn

  npm install expo-cache-image
  or
  yarn add expo-cache-image
  cd my-project

Usage/Examples

import CacheImage from 'expo-cache-image'

function App() {
    return {
        <CacheImage 
            url={imageUrl}
            type='autoHeight'
        />
    }
}

Documentation

nametypeisRequireddefaultdescription
urlstringtruenullurl to the internet
styleobjecttruenullcustom style your image
widthnumbermaybenullwith of image it's required for autoHeight type
resizeModestringmaybecontainresize mode of image center, contain, cover, repeat, stretch
typestringtruenullformat of image image, autoHeight

🚀 About Me

I'm a Frontend developer, and I'm very passionate and dedicated to my work. With more than 5 years of experience as a professional web develope...

🔗 Links

portfolio linkedin

🛠 Skills

Javascript, HTML, CSS, React, React Native, Vue...

Acknowledgements

Feedback

If you have any feedback, please reach out to us at rukkiecodes@gmail.com