To use the ItemModifierGroups API, install the @wix/restaurants package using npm or Yarn:
@wix/restaurants
or
Then import { itemModifierGroups } from @wix/restaurants:
{ itemModifierGroups }