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

Import

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

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