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

Handling image relative path #436

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Handling image relative path #436

merged 1 commit into from
Apr 22, 2024

Conversation

nelson-glauber
Copy link
Collaborator

This PR includes the following changes:

  • Support for placeholders in AsyncImage for loading and error states. Also, support for SVG images and relative paths.
<AsyncImage
  url="/images/logo.svg"
  contentScale="fillWidth">
  <Text template="error">Error loading image</Text>
  <CircularProgressIndicator template="loading"/>
</AsyncImage>

@nelson-glauber nelson-glauber merged commit f010129 into main Apr 22, 2024
2 checks passed
@nelson-glauber nelson-glauber deleted the nelson/relative_url branch April 22, 2024 18:58
@nelson-glauber nelson-glauber linked an issue Apr 22, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support relative paths
1 participant