import React, { MouseEventHandler, useState } from 'react'; import { Box, Button, Icon, Icons, Menu, MenuItem, PopOut, RectCords, Text, config } from 'folds'; import FocusTrap from 'focus-trap-react'; import { stopPropagation } from '../../utils/keyboard'; type ReportCategorySelectProps = { id?: string; value: string; labels: Record; onChange: (value: string) => void; }; /** * Category dropdown for the report modals — folds `Button` + `PopOut` + `Menu` * pattern (matching `OrderButton` in SearchFilters), replacing the OS-styled * native `