Skip to content

refactor(image): introduce util function for image props#707

Merged
james-elicx merged 3 commits intomainfrom
pr-88-update
Mar 28, 2026
Merged

refactor(image): introduce util function for image props#707
james-elicx merged 3 commits intomainfrom
pr-88-update

Conversation

@james-elicx
Copy link
Copy Markdown
Collaborator

#88

ygcaicn and others added 3 commits February 26, 2026 11:49
…e prop handling

Added a new utility function, resolveImageSource, to consolidate the logic for resolving image source properties (src, width, height, blurDataURL) in the Image component and getImageProps. This change enhances code maintainability and ensures consistent behavior across components.
@james-elicx james-elicx enabled auto-merge (squash) March 28, 2026 22:36
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 28, 2026

Open in StackBlitz

npm i https://pkg.pr.new/vinext@707

commit: ac89946

@github-actions
Copy link
Copy Markdown

Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original

@james-elicx james-elicx merged commit 5ce1c13 into main Mar 28, 2026
32 checks passed
@james-elicx james-elicx deleted the pr-88-update branch March 28, 2026 22:39
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.

2 participants