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

Get canvas ref from another component #449

Open
udarts opened this issue Feb 17, 2023 · 0 comments
Open

Get canvas ref from another component #449

udarts opened this issue Feb 17, 2023 · 0 comments

Comments

@udarts
Copy link

udarts commented Feb 17, 2023

If I have the download button in the header of my react page and the canvas is inside another component (in the Content component):

<div>
    <Header />
    <Content />
</div> 

How can I generate an image from the canvas that component? As the ref is not shown.

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

No branches or pull requests

1 participant