import { useTranslation } from "react-i18next"; import PuzzleIcon from "#/icons/u-puzzle-piece.svg?react"; import { I18nKey } from "#/i18n/declaration"; import { cn } from "#/utils/utils"; import { formControlBorderClassName, formControlSurfaceClassName, formControlTransitionClassName, } from "#/utils/form-control-classes"; interface PluginPickerTriggerProps { /** Number of currently-attached plugins, shown as a badge when > 0. */ count: number; onClick: () => void; disabled?: boolean; } /** Pill button that opens the plugin picker; mirrors `OpenLauncherButton`. */ export function PluginPickerTrigger({ count, onClick, disabled = false, }: PluginPickerTriggerProps) { const { t } = useTranslation("openhands"); return ( ); }