workspace-sidepanel/src/workspace-sidepanel/workspace-sidepanel.types.ts
Represents an item displayed in the sidepanel section of a workspace-layout of type "sidepanel".
Used by
import { SidepanelItem } from '@talenra/components/workspace-sidepanel';
Properties |
|
| counter |
counter:
|
Type : number
|
| Optional |
|
A counter value attached to the label (visually represented as badge/call-out). Typically a number that represents the number of items contained in this navigation item. |
| counterMax |
counterMax:
|
Type : number
|
| Optional |
|
The maximum value of the counter. If the counter value exceeds this limit, " |
| icon |
icon:
|
Type : string
|
|
Identifier of the icon displayed. A list of all icons supported is included in the README of package
|
| key |
key:
|
Type : string
|
|
Unique key used to identify the item |
| label |
label:
|
Type : string
|
|
Label displayed to the user |