/gl-react-hue-rotate

Universal gl-react Hue Rotate effect

Primary LanguageJavaScript

gl-react-hue-rotate

Universal gl-react Hue Rotate effect

Props

  • children (required): the content to hue-rotate.
  • hue (required): the hue rotation in radian.

Usage Examples

import { HueRotate } from "gl-react-hue-rotate";
<HueRotate hue={Math.PI}>...</HueRotate>