image-overlay-react
v1.0.3
Published
Made with create-react-library
Downloads
20
Maintainers
Readme
image-overlay-react
React Image Overlay Fade Effect Component
Install
npm install --save image-overlay-react
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>
)
}
License
MIT © onur-yuksekkaya