st0ffern / gl-react-imagefilters

Image filters for gl-react and gl-react-native
48 stars 7 forks source link

gl-react-imagefilters

Greenkeeper badge Image filters for gl-react and gl-react-native

Props

Usage Examples

var ImageFilter = require("gl-react-imagefilters");
// or
import ImageFilter from "gl-react-imagefilters";
<Surface width={300} height={300}>
   <ImageFilter sepia={3} blur={2}>...</ImageFilter>
</Surface>
<Surface width={300} height={200}>
   <ImageFilter sepia={3} blur={2}>
    <GLImage
      source="https://unsplash.it/200/300"
      imageSize={{ width: 300, height: 200 }}
      resizeMode="cover" />
   </ImageFilter>
</Surface>