1.0.3 • Published 3 years ago

image-overlay-react v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

image-overlay-react

React Image Overlay Fade Effect Component

NPM JavaScript Style Guide

Install

npm install --save image-overlay-react

ezgif com-gif-maker (1)

Example

import { ImgOverlay } from 'image-overlay-react'
import 'image-overlay-react/dist/index.css'

const app = () => {
  return (
    <ImgOverlay
      imgSrc='https://picsum.photos/200/300'
      bgColor='pink'
      position='right'
      width='400px'
      height='600px'
      fSize='48px'
      fColor='gray'
    >
      It's a text
    </ImgOverlay>
  )
}

Screenshot_1

License

MIT © onur-yuksekkaya