Setup

To use the Rules API, install the @wix/groups package using npm or Yarn:

Copy

or

Copy

Then import { rules } from @wix/groups:

Copy
Did this help?