Appearance
Function: UiItem()
ts
function UiItem(__namedParameters: UiItemProps): Element | null;Defined in: src/UI/components/Item.tsx:47
Experimental
Renderer-side wrapper for the Item mw component.
Adds dynamic props (hidden, disabled, name) on top of the static mw Item, and wires action buttons that declare name to write to UI state on click. Functions for hidden/disabled receive the current UI state and re-evaluate when state changes.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | UiItemProps |
Returns
Element | null