1.0.0 • Published 5 years ago

react-image-effects v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

react-image-effects

A small, customizable react component that adds effects to images. Currently compatible with React, but React Native support is on the way.

Install

npm i react-image-effects

or

yarn add react-image-effects

Usage

import React from 'react'
import ImageEffect from 'react-image-effects'

export default function App(props) {
  return (
    <div>
      <ImageEffect
        url="https://example.com/test.jpg"
        effect="airbrush"
        width="640px"
        height="480px"
      />
    </div>
  )
}

Properties

PropTypeRequiredDefault
urlstringyes
effectstringno'none'
widthstringno'600px'
heightstringno'300px'

Contributing

PRs are welcome.

License

MIT © | @cdrani