UNPKG

@als-tp/als-react-ts-ui

Version:

A comprehensive React TypeScript UI component library built with Base UI by ALSInnovation

37 lines 1.15 kB
import * as React from "react"; /** Orientation variants for menubar */ export type ALSMenubarOrientation = "horizontal" | "vertical"; /** Props for ALSMenubar.Root */ export interface ALSMenubarRootProps { /** Child Menu.Root components */ children: React.ReactNode; /** Whether the menubar is disabled */ disabled?: boolean; /** Whether to loop keyboard focus */ loopFocus?: boolean; /** Whether the menubar is modal */ modal?: boolean; /** Orientation of the menubar */ orientation?: ALSMenubarOrientation; /** Additional CSS class */ className?: string; /** Inline styles */ style?: React.CSSProperties; } /** * ALSMenubarRoot - Root container for the menubar * * @example * ```tsx * <ALSMenubar.Root> * <ALSMenu.Root> * <ALSMenu.Trigger>File</ALSMenu.Trigger> * <ALSMenu.Content> * <ALSMenu.Item>New</ALSMenu.Item> * </ALSMenu.Content> * </ALSMenu.Root> * </ALSMenubar.Root> * ``` */ export declare const ALSMenubarRoot: React.ForwardRefExoticComponent<ALSMenubarRootProps & React.RefAttributes<HTMLDivElement>>; //# sourceMappingURL=ALSMenubar.d.ts.map