blocks/permission-grid
Type Aliases
Section titled “Type Aliases”PermissionState
Section titled “PermissionState”PermissionState =
"allowed"|"denied"
Whether the capability is available in this scope.
PermissionGridRow
Section titled “PermissionGridRow”PermissionGridRow =
Readonly<{id:string;mark:ReactNode;label:string;group?:string;state:PermissionState;stateLabel:string;scope:string;control?:ReactNode; }>
One capability row.
PermissionGridProps
Section titled “PermissionGridProps”PermissionGridProps =
Readonly<{caption:ReactNode;summary?:ReactNode;rows: readonlyPermissionGridRow[];headings?:Readonly<{capability:string;state:string;scope:string;control?:string; }>;className?:string; }>
Props accepted by PermissionGrid.
Functions
Section titled “Functions”PermissionGrid()
Section titled “PermissionGrid()”PermissionGrid(
__namedParameters):Element
Product-neutral, dense capability sheet: one row per capability.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”Element