Skip to content

ShaunLWM/react-cosha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🖼️ A simple React component for cosha

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published