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

Shared Icon component #136

Open
4 tasks
v0ldemar01 opened this issue Jun 11, 2024 · 0 comments
Open
4 tasks

Shared Icon component #136

v0ldemar01 opened this issue Jun 11, 2024 · 0 comments

Comments

@v0ldemar01
Copy link
Collaborator

v0ldemar01 commented Jun 11, 2024

User story:

Add common Icon component
Add iconNameToIcon map
Make use of all icons through single component
Acceptance criteria:

  • When a developer passes the name of a specific icon to the "iconName" property of the "Icon" component, the component searches for this name in the created object that associates icon names with corresponding SVG images, and displays the appropriate SVG image.
  • When a developer provides the name of an icon that is not present in the associated object, the "Icon" component displays an error.
  • When a developer updates the association object with a new SVG icon for a specific name, all usages of the "Icon" component with the updated name will automatically display the new SVG image for this icon.
  • Add email and password svg icon and add them to input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant