aws-amplify / aws-amplify/amplify-studio

How can I render 2 differend image depending on variant

Open
#762 3 comments 0 reactions 1 assignee Claimed by @cwoolum View on GitHub
feature-request figma studio-ui
Dominant language
No language data
Stars
135
Forks
32
PR merge metrics
No merged PRs in 30d

Description

### Discussed in https://github.com/aws-amplify/amplify-ui/discussions/3182

Originally posted by **matart15** December 16, 2022
- Amplify generated code removes image file.
- When I try to hard code image codes with conditional props, it does not show variant props on conditionals

How can I render 2 differend image depending on variant?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.