Skip to content

modestguy/GradientImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GradientImage

Simple "image with rgradient" React component

This component added SIMPLE gradient on image. If you want to use component with more settings, see another: react-native-image-gradient for example.

Usage example:

<GradientImage direction="bottom" color="#000" percents={100} className={styles.hideOnDesktop}>
  <img src={this.props.src} />
</GradientImage>  

Enjoy!

About

Simple "image with rgradient" React component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published