react-image-effects

1.0.0 • Public • Published

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

Prop Type Required Default
url string yes
effect string no 'none'
width string no '600px'
height string no '300px'

Contributing

PRs are welcome.

License

MIT © | @cdrani

Package Sidebar

Install

npm i react-image-effects

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

22.6 kB

Total Files

7

Last publish

Collaborators

  • cdrani