A simple React component for cosha
npm install --save react-cosha
yarn add react-cosha
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">
- className = "cosha"
- blur = "5px"
- brightness = 1
- saturation = 1
- x = 0
- y = 0
None for now
MIT 2020 - ShaunLWM