interface / @typed/ui

Menu.GroupOptions

Inputs accepted by Menu.Group in addition to the shared DOM host options.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Command grouping
Since
1.0.0
Member of
Menu

Import

import { Menu } from "@typed/ui";

Access Menu.GroupOptions through the imported Menu export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export interface GroupOptions extends Dom.HostOptions<HTMLDivElement> {
    readonly content: Renderable.Any;
    readonly label?: Renderable.Any<string | null | undefined>;
}

Property: content

Renderable child content for the component host.

Property: label

Accessible label rendered through aria-label.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source