gatsby-transformer-cloudinary
gatsby-transformer-cloudinary copied to clipboard
Add option to generate props for cloudinary-react
For example: can add a cldFixed, cldFluid, cldSomeTransformation objects, like the fluid/fixed objects that are added for easy integration with gatsby-image.
It could then be used like this:
import {Image} from 'cloudinary-react'; /* get cldTransformations using GraphQL*/
in render(): <Image {...cldTransformations.fixed}/> <Image {...cldTransformations.faceThumbnail}/> <Image {...cldTransformations.responsive}/> etc...