@als-tp/als-react-ts-ui
Version:
A comprehensive React TypeScript UI component library built with Base UI by ALSInnovation
94 lines • 5.28 kB
TypeScript
import React from "react";
import { ContextMenu } from "@base-ui-components/react/context-menu";
export interface ALSContextMenuRootProps extends ContextMenu.Root.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuTriggerProps extends ContextMenu.Trigger.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuPortalProps extends ContextMenu.Portal.Props {
children?: React.ReactNode;
}
export interface ALSContextMenuBackdropProps extends ContextMenu.Backdrop.Props {
className?: string;
}
export interface ALSContextMenuPositionerProps extends ContextMenu.Positioner.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuPopupProps extends ContextMenu.Popup.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuArrowProps extends ContextMenu.Arrow.Props {
className?: string;
}
export interface ALSContextMenuItemProps extends ContextMenu.Item.Props {
className?: string;
children?: React.ReactNode;
disabled?: boolean;
}
export interface ALSContextMenuSeparatorProps extends ContextMenu.Separator.Props {
className?: string;
}
export interface ALSContextMenuGroupProps extends ContextMenu.Group.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuGroupLabelProps extends ContextMenu.GroupLabel.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuRadioGroupProps extends ContextMenu.RadioGroup.Props {
className?: string;
children?: React.ReactNode;
value?: string;
onValueChange?: (value: string) => void;
}
export interface ALSContextMenuRadioItemProps extends ContextMenu.RadioItem.Props {
className?: string;
children?: React.ReactNode;
value: string;
}
export interface ALSContextMenuRadioItemIndicatorProps extends ContextMenu.RadioItemIndicator.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuCheckboxItemProps extends ContextMenu.CheckboxItem.Props {
className?: string;
children?: React.ReactNode;
checked?: boolean;
onCheckedChange?: (checked: boolean) => void;
}
export interface ALSContextMenuCheckboxItemIndicatorProps extends ContextMenu.CheckboxItemIndicator.Props {
className?: string;
children?: React.ReactNode;
}
export interface ALSContextMenuSubmenuRootProps extends ContextMenu.SubmenuRoot.Props {
children?: React.ReactNode;
}
export interface ALSContextMenuSubmenuTriggerProps extends ContextMenu.SubmenuTrigger.Props {
className?: string;
children?: React.ReactNode;
}
export declare const ALSContextMenuRoot: React.ForwardRefExoticComponent<ALSContextMenuRootProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuTrigger: React.ForwardRefExoticComponent<ALSContextMenuTriggerProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuPortal: React.FC<ALSContextMenuPortalProps>;
export declare const ALSContextMenuBackdrop: React.ForwardRefExoticComponent<ALSContextMenuBackdropProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuPositioner: React.ForwardRefExoticComponent<ALSContextMenuPositionerProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuPopup: React.ForwardRefExoticComponent<ALSContextMenuPopupProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuArrow: React.ForwardRefExoticComponent<ALSContextMenuArrowProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuItem: React.ForwardRefExoticComponent<ALSContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuSeparator: React.ForwardRefExoticComponent<ALSContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuGroup: React.ForwardRefExoticComponent<ALSContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuGroupLabel: React.ForwardRefExoticComponent<ALSContextMenuGroupLabelProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuRadioGroup: React.ForwardRefExoticComponent<ALSContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuRadioItem: React.ForwardRefExoticComponent<ALSContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuRadioItemIndicator: React.ForwardRefExoticComponent<ALSContextMenuRadioItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
export declare const ALSContextMenuCheckboxItem: React.ForwardRefExoticComponent<ALSContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
export declare const ALSContextMenuCheckboxItemIndicator: React.ForwardRefExoticComponent<ALSContextMenuCheckboxItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
export declare const ALSContextMenuSubmenuRoot: React.FC<ALSContextMenuSubmenuRootProps>;
export declare const ALSContextMenuSubmenuTrigger: React.ForwardRefExoticComponent<ALSContextMenuSubmenuTriggerProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=ALSContextMenu.d.ts.map