UNPKG

@freecodecamp/ui

Version:

The freeCodeCamp.org open-source UI components

6 lines (5 loc) 330 B
import { Menu } from "@headlessui/react"; import { type ComponentPropsWithoutRef } from "react"; import { type ButtonProps } from "../button"; export type MenuItemsProps = ComponentPropsWithoutRef<typeof Menu.Items> & ButtonProps; export declare const MenuItem: ({ children, className, ...props }: MenuItemsProps) => JSX.Element;