Skip to content

Add option to generate props for cloudinary-react #16

@ghost

Description

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions