You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lazy load & transition your React images with some WebGL glsl niceness 🎉. Easy to use, offers 7 different transitions out the box and gives you the ability to easily port any transition from https://gl-transitions.com/!
| mask | Mask image url. If this props is supplied, the image will be used as a mask and the transition will be set (and overridden) accordingly | no ||
85
88
| textures | Array of image urls to be loaded as textures in the transition shader. `textures[0]` will be available as `sampler2D textures[0] in the shader with `vec2 textureResolutions[0]` containing the image resolution. | no ||
86
89
| className | CSS class name for the outermost wrapper div | no ||
87
-
|`style`| CSS inline style object for the outermost wrapper div (useful for animating CSS properties concurrently with the GLSL transition (see live demo)) |||
90
+
| style | CSS inline style object for the outermost wrapper div (useful for animating CSS properties concurrently with the GLSL transition (see live demo)) |||
88
91
89
92
## Transitions
90
93
The following transitions are currently available.
0 commit comments