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

[Bug]: 2 same components #78

Open
yassirog opened this issue Feb 10, 2025 · 0 comments
Open

[Bug]: 2 same components #78

yassirog opened this issue Feb 10, 2025 · 0 comments

Comments

@yassirog
Copy link

Description

There are 2 SVG's with arrows. One left and one right. You could just use one SVG and giving 1 a class with transform to rotate it. This way you don't need 2 SVG's.

Expected behavior

I expected them to use 1 SVG and just rotate it, instead of using 2 SVG's.

Actual behavior

A SVG for arrow each direction.
So in total 2 SVG's.

What device are you experiencing the problem on?

No response

What operating system are you experiencing the problem on?

No response

What browsers are you experiencing the problem on?

No response

@yassirog yassirog self-assigned this Feb 10, 2025
@yassirog yassirog changed the title [Bug]: [Bug]: 2 same components Feb 10, 2025
yassirog added a commit that referenced this issue Feb 10, 2025
fixes #78

Made a Prop with a class in the SVG of the component,  because of this there weren't 2 SVG's needed.

Both were Arrows, 1 to the left and 1 to the right. I made a prop which gives 1 the class right-arrow with transformX -1. This makes the left arrow turn to the right.
@yassirog yassirog moved this to Important items in FDND Programma Feb 10, 2025
@yassirog yassirog moved this from Important items to In Progress in FDND Programma Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant