Class: DrinkIcon

frontend~DrinkIcon(Must)

An icon preview view for a drink recipe

Constructor

new DrinkIcon(Must)

Binds methods
Parameters:
Name Type Description
Must Array.<any> contain a click callback and full drink details. Details should be gathered at parent level
Source:

Extends

  • React.Component

Methods

render()

Renders a icon view of the drink, using the drink image and name
Source: