import { default as React } from 'react'; import { HNDesignsystemDropdown } from '../../resources/Resources'; import { DropdownOldOnColor } from './constants'; export interface DropdownOldProps { /** Label for dropdown. Visible for screen readers */ label: string; /** Text on the trigger button that opens the dropdown */ placeholder: string; /** Sets the dropdown content */ children: React.ReactNode; /** @deprecated Close button text */ closeText?: string; /** Minimum width for the dropdown in pixels. Does not affect trigger button */ dropdownMinWidth?: number; /** No close button */ noCloseButton?: boolean; /** Called when dropdown is open/closed */ onToggle?: (isOpen: boolean) => void; /** Whether the dropdown is open or not */ open?: boolean; /** Changes the visuals of the dropdown */ onColor?: keyof typeof DropdownOldOnColor; /** Makes the background of the trigger transparent */ transparent?: boolean; /** Makes the width of the full component adjust to its parent */ fluid?: boolean; /** Makes the dropdown disabled */ disabled?: boolean; /** Sets the data-testid attribute on the dropdown button */ testId?: string; /** Overrides the default z-index of the DropDownContent */ zIndex?: number; /** Resources for component */ resources?: Partial; } declare const DropdownOld: React.FC; export default DropdownOld;