(props: MenuProps<T>)
| 22 | import {Popover, type PopoverProps} from './Popover'; |
| 23 | |
| 24 | export function Menu<T>(props: MenuProps<T>) { |
| 25 | return ( |
| 26 | <AriaMenu |
| 27 | {...props} |
| 28 | className="font-sans p-1 outline outline-0 max-h-[inherit] overflow-auto [clip-path:inset(0_0_0_0_round_.75rem)] empty:text-center empty:pb-2" |
| 29 | /> |
| 30 | ); |
| 31 | } |
| 32 | |
| 33 | export function MenuItem(props: MenuItemProps) { |
| 34 | let textValue = |
nothing calls this directly
no outgoing calls
no test coverage detected