DropdownIndicatorProps

Props for the DropdownIndicator component.

Definition

interface DropdownIndicatorProps {
    /**
     * Indicates whether the dropdown is open, rotating the chevron icon accordingly.
     */
    isOpen: boolean;

    /**
     * Custom inline styles for the indicator container.
     */
    styles?: React.CSSProperties;

    /**
     * Additional CSS class names to apply to the indicator container.
     */
    className?: string;
}

Usage

Last updated