-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello ! I'm a bit stuck on an implementation we want to do.
We have a mix of portrait and landscape images that we want to display with a borderRadius.
I tried several combinations of parameters but I couldn't get a correct result.
Is there a way for the component to return the dimensions of the original image that will be displayed so that I can adapt the style accordingly?
For more detail we would like to have this type of style and I'm not sure if it is possible
Portrait format: full width and adjustable height
Landscape format: fixed height (290px) and width that fits
Metadata
Metadata
Assignees
Labels
No labels