Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to generate props for cloudinary-react #16

Open
ghost opened this issue Nov 8, 2019 · 0 comments
Open

Add option to generate props for cloudinary-react #16

ghost opened this issue Nov 8, 2019 · 0 comments
Labels
feature New functionality

Comments

@ghost
Copy link

ghost commented Nov 8, 2019

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

@Chuloo Chuloo added the enhancement New feature or request label Feb 4, 2020
@cloudinary-raae cloudinary-raae added feature New functionality and removed enhancement New feature or request labels Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

No branches or pull requests

2 participants