ControlIsland, ControlIslandRole, and ControlIslandStatus from @prepared911/ui/blocks/control-island.
| Prop | Type | Default |
|---|---|---|
label | LocalizedMessage | required |
roles | readonly ControlIslandRoleItem[] | required |
role | ControlIslandRole | — |
defaultRole | ControlIslandRole | first role |
onRoleChange | (role, details) => void | — |
raiseHandIcon | Glyph | required |
raisedHandIcon | Glyph | raiseHandIcon |
raiseHandLabel | LocalizedMessage | required |
raisedHand | boolean | — |
defaultRaisedHand | boolean | false |
onRaisedHandChange | (raised, details) => void | — |
availability | ControlIslandAvailability | — |
size | ButtonSize | Medium |
className | string | — |
id | string | — |
ref | Ref<HTMLDivElement> | — |
ControlIslandRole: Supervisor, Calltaker, Dispatcher. ref, id, and className land on the host around the Expanding ButtonGroup.