Constructor
new IngredientIcon(Must)
Binds methods
Parameters:
Name | Type | Description |
---|---|---|
Must |
Array.<any> | contain a click callback and full ingredient details. Details should be gathered at parent level |
Extends
- React.Component
Methods
render()
Renders a icon view of the ingredient, using the ingredient image and name