Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

RolesAndPermissions Container

Overview

The RolesAndPermissions container component for the drop-in.

Version: 1.0.0-beta16

Configuration

The RolesAndPermissions container provides the following configuration options:

ParameterTypeReq?Description
classNamestringNoAdditional CSS classes to apply to the container
withHeaderbooleanNoConfiguration for with header

Slots

This container does not currently expose any customizable slots.

Usage

The following example demonstrates how to use the RolesAndPermissions container:

import { RolesAndPermissions } from '@dropins/storefront-company-management';
export default function MyComponent() {
return (
<RolesAndPermissions
className="Example Name"
withHeader={true}
/>
);
}