Renders the clear icon or a badge showing selected count.

  • Parameters

    • badge: undefined | boolean

      Whether to show count badge instead of icon.

    • multiple: undefined | boolean

      Whether Autocomplete is multi-select.

    • value: null | DropdownOption | DropdownOption[]

      The current normalized selection.

    • colorParser: ColorParser

      Theme color parser.

    • OptionallabelColor: string

      Optional override for label color.

    • Optionalopen: boolean

      Whether the autocomplete dropdown is open.

    Returns ReactNode