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

How can I access the props of a svg component? #1562

Closed
namti opened this issue Apr 6, 2021 · 1 comment
Closed

How can I access the props of a svg component? #1562

namti opened this issue Apr 6, 2021 · 1 comment
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario

Comments

@namti
Copy link

namti commented Apr 6, 2021

I am using to load remote SVG files which are in different sizes. I wonder if there is a way to access the SVG props. I have tried to create a ref but it doesn't work.

Or if there is a way to keep the original ratio of the SVG view area would be great.

I appreciate your kind help.

@bohdanprog
Copy link
Member

Hello @namti,
If the issue still persists, could you share an example?
Thank you.

@bohdanprog bohdanprog added Missing repro This issue need minimum repro scenario Close when stale This issue is going to be closed when there is no activity for a while labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario
Projects
None yet
Development

No branches or pull requests

2 participants