UNPKG

@kopexa/dropdown-menu

Version:
44 lines (41 loc) 4.3 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; import { ComponentProps } from 'react'; type DropdownMenuRootProps = ComponentProps<typeof DropdownMenuPrimitive.Root>; declare function DropdownMenuRoot(props: DropdownMenuRootProps): react_jsx_runtime.JSX.Element; type DropdownMenuPortalProps = React.ComponentProps<typeof DropdownMenuPrimitive.Portal>; declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element; type DropdownMenuTriggerProps = React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>; declare function DropdownMenuTrigger({ ...props }: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element; type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenuPrimitive.Content>; declare function DropdownMenuContent({ className, sideOffset, ...props }: DropdownMenuContentProps): react_jsx_runtime.JSX.Element; type DropdownMenuGroupProps = React.ComponentProps<typeof DropdownMenuPrimitive.Group>; declare function DropdownMenuGroup({ ...props }: DropdownMenuGroupProps): react_jsx_runtime.JSX.Element; type DropdownMenuItemProps = React.ComponentProps<typeof DropdownMenuPrimitive.Item> & { inset?: boolean; variant?: "default" | "destructive"; }; declare function DropdownMenuItem({ className, inset, variant, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element; type DropdownMenuCheckboxItemProps = React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>; declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: DropdownMenuCheckboxItemProps): react_jsx_runtime.JSX.Element; type DropdownMenuRadioGroupProps = React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>; declare function DropdownMenuRadioGroup({ ...props }: DropdownMenuRadioGroupProps): react_jsx_runtime.JSX.Element; type DropdownMenuRadioItemProps = React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>; declare function DropdownMenuRadioItem({ className, children, ...props }: DropdownMenuRadioItemProps): react_jsx_runtime.JSX.Element; type DropdownMenuLabelProps = React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { inset?: boolean; }; declare function DropdownMenuLabel({ className, inset, ...props }: DropdownMenuLabelProps): react_jsx_runtime.JSX.Element; type DropdownMenuSeparatorProps = React.ComponentProps<typeof DropdownMenuPrimitive.Separator>; declare function DropdownMenuSeparator({ className, ...props }: DropdownMenuSeparatorProps): react_jsx_runtime.JSX.Element; type DropdownMenuItemShortcutProps = React.ComponentProps<"span">; declare function DropdownMenuShortcut({ className, ...props }: DropdownMenuItemShortcutProps): react_jsx_runtime.JSX.Element; type DropdownMenuSubProps = React.ComponentProps<typeof DropdownMenuPrimitive.Sub>; declare function DropdownMenuSub({ ...props }: DropdownMenuSubProps): react_jsx_runtime.JSX.Element; type DropdownMenuSubTriggerProps = React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & { inset?: boolean; }; declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: DropdownMenuSubTriggerProps): react_jsx_runtime.JSX.Element; type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>; declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): react_jsx_runtime.JSX.Element; export { DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuItemShortcutProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuRoot, type DropdownMenuRootProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps };