react-cosha
v0.0.1-alpha.6
Published
[!["Monthly Download"](https://img.shields.io/npm/dm/react-cosha.svg)](https://npmjs.org/package/react-cosha) [!["Latest Release"](https://img.shields.io/npm/v/react-cosha.svg)](https://github.com/ShaunLWM/react-cosha/releases/latest) [![MIT license](http
Downloads
13
Readme
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