react-cosha
A simple React component for cosha
Installation
npm install --save react-cosha
yarn add react-cosha
Usage
import Cosha from "react-cosha"
Simply replace all your img
tags with Cosha
. All remaining attributes will be forwarded to your Cosha component.
<Cosha src="me.jpg">
Props (default)
- className = "cosha"
- blur = "5px"
- brightness = 1
- saturation = 1
- x = 0
- y = 0
Todo
None for now
Credits
License
MIT 2020 - ShaunLWM