To use the Events API, install the @wix/calendar package using npm or Yarn:
@wix/calendar
npm install @wix/calendar
or
yarn add @wix/calendar
Then import { events } from @wix/calendar:
{ events }
import { events } from "@wix/calendar";