Skip to content

Shared Icon component #136

@v0ldemar01

Description

@v0ldemar01

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions