Properties of the DropdownPanel React component.

interface DropdownPanelProps {
    autoHideTimeout?: number;
    children?: ReactNode;
    dropDownSize: number;
    forceShow?: boolean;
    id?: string;
    maxLength: number;
    parentHeight: number;
    parentWidth: number;
    position: "bottom" | "left" | "right" | "top";
}

Properties

autoHideTimeout?: number

The time in milliseconds until the panel will auto-hide

children?: ReactNode

The children that will be displayed in the panel.

dropDownSize: number

The size of the panel, either height or width depending on position.

forceShow?: boolean

Force the panel to be visible even if not hovered.

id?: string

The component id.

maxLength: number

The maximum length of the panel, either height or width depending on position.

parentHeight: number

The parent's height in pixels.

parentWidth: number

The parent's width in pixels.

position: "bottom" | "left" | "right" | "top"

The position of the panel in relation to the parent.