-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Passing down className prop in S3Image component #1272
Comments
it is not possible to modify the sizes (width, height) of the image contained in the div. |
👍 I'd like this, too. My specific use case is that I'm using semantic-ui-react and am rendering some images captured by a webcam, with the img src passed directly to Semantic UI React's Image component. I'm rendering these images alongside existing images in an S3 bucket via aws-amplify-react's S3Image component. My problem is that I want the S3Image images to render similarly to the Image images. To do this, I'd like to get the |
FYI, we have started an RFC discussion for a proposed Amplify UI Component refactor to increase customizability and flexibility for our components. Please feel free to add any additional comments to the following issue: |
Would love to have this too! The workaround with an enclosing div and |
@ericclemmons I am trying to pass className to S3Image and I am not able to get it to recognize the className prop.
Does this look right to you? |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Feature request
What is the current behavior?
In aws-amplify-react Passing
className
prop to S3Image components has no effect. The prop is ignored. I want to be able to set CSS class on the S3Image component.The text was updated successfully, but these errors were encountered: