react-cosha

0.0.1-alpha.6 • Public • Published

react-cosha

"Monthly Download" "Latest Release" MIT license

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

robinloeffel/cosha

License

MIT 2020 - ShaunLWM

Readme

Keywords

none

Package Sidebar

Install

npm i react-cosha

Weekly Downloads

0

Version

0.0.1-alpha.6

License

MIT

Unpacked Size

4.9 kB

Total Files

8

Last publish

Collaborators

  • shaunlwm