Class: UserKeyData

UserKeyData(userInfo, unite, abbUnite, color, icon) → {JSX.Element}

new UserKeyData(userInfo, unite, abbUnite, color, icon) → {JSX.Element}

display icon with user infos

Parameters:
Name Type Description
userInfo string

Give the quantity

unite string

Give the quantity unite

abbUnite string

Give the abbreviation of the quantity unite

color string

Gives the color of the div container

icon string

Give path de the icon picture

Source:
Returns:
  • Return user's keyData
Type
JSX.Element