function / @typed/ui/Menu

Separator

Renders a separator with explicit horizontal or vertical orientation.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Command grouping
Since
1.0.0

Import

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

Signatures

export declare function Separator<const Options extends SeparatorOptions, const Host extends HostResult = never>(options: Options, host?: Dom.HostOverride<Dom.RenderHostProps<Options, SeparatorProps<Options>>, "", Host>): Fx<RenderEvent, Renderable.Error<Options | Host>, Renderable.Services<Options | Host> | Scope.Scope | RenderTemplate>;

Examples

import * as Menu from "@typed/ui/Menu";

const view = Menu.Separator({ orientation: "horizontal" });

Other public imports

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

Source