Setup

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

Copy

or

Copy

Then import { roles } from @wix/groups:

Copy
Did this help?