Skip to content

Conversation

@aidenybai
Copy link
Owner

@aidenybai aidenybai commented Jan 4, 2026

Export screenshot utilities and the ElementBounds type to make them publicly available for react-grab users.


Open in Cursor Open in Web


Summary by cubic

Expose screenshot utilities and the ElementBounds type in the react-grab public API so apps can capture element screenshots and check support.

  • New Features
    • Export captureElementScreenshot, copyImageToClipboard, combineBounds, and ElementBounds.
    • Export isScreenshotSupported for feature detection.

Written for commit 733afa4. Summary will update on new commits.


Note

Makes screenshot capabilities part of the public API for react-grab.

  • Export captureElementScreenshot, copyImageToClipboard, and combineBounds from index.ts
  • Export ElementBounds type and mark its interface as export in capture-screenshot.ts
  • Export isScreenshotSupported for feature detection

Written by Cursor Bugbot for commit 733afa4. This will update automatically on new commits. Configure here.

Co-authored-by: aiden <aiden@million.dev>
@cursor
Copy link

cursor bot commented Jan 4, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Jan 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-grab-website Ready Ready Preview, Comment Jan 4, 2026 1:22am

@aidenybai aidenybai marked this pull request as ready for review January 4, 2026 01:24
@aidenybai aidenybai merged commit f435666 into main Jan 4, 2026
8 checks passed
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

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.

3 participants