Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / renderActionGroup

Function: renderActionGroup()

renderActionGroup(group, ctx, opts?): HtmlNode | null

Defined in: admin/src/actions/render.tsx:96

Render a group as one trigger opening a menu of its members.

Returns null when nothing inside is visible, so an empty menu never appears. argsFor builds each member's handler arguments, since those carry the action's own key.

Parameters

group

ActionGroup

ctx

ActionContext

opts?

RenderActionOptions & object = {}

Returns

HtmlNode | null