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