1.0.3 • Published 5 years ago

smoothimage v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Smooth-Image

Enhance the image loading in React Native => 59.0 Applications

Very lightweight library for - Add loading animation while image is loading full customizable

#Installation

npm i smoothimage

#Usage

import React from 'react';
import { View } from 'react-native';
import SmoothImage from 'smoothimage'

const componentName = (params) => (
    <View>
          <SmoothImage
            source={require('./../../assets/Images/test.jpg')}
            style={{height: 200, width: 200}}
            loaderColor="blue"
            loaderBackgroundStyle={{backgroundColor: 'gray'}}
          />
    </View>
);

export default componentName;

#PROPS

  style - style object
  loaderColor  - String (Color code or name)
  loaderBackgroundStyle - Style Object (Customize the UI)
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago