s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Membership and permissions

PermissionPicker

No summary has been written for PermissionPicker. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { PermissionPicker } from '@happyvertical/smrt-ui';
Import path
@happyvertical/smrt-ui
Props
7
Props described
7 of 7
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
permissionsreadonly PermissionPickerItem[]YesPermission catalog the host has authorized this actor to assign.
selectedreadonly string[]NoPermission slugs checked on first render or a server-validation retry.
namestringNoRepeated native form field name.
labelstringNoVisible label for the catalog.
descriptionstringNoSupporting text below the label.
searchLabelstringNoAccessible label and placeholder for the progressive search.
disabledbooleanNoPrevents changes and native form submission while retaining readable state.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation