File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import type { SearchResults } from "algoliasearch-helper"
3
3
import type { Connector } from "instantsearch.js"
4
4
import type { AdditionalWidgetProperties } from "react-instantsearch"
5
5
import { useCallback , useEffect , useMemo , useState } from "react"
6
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
7
+ import { faMinus , faPlus } from "@fortawesome/free-solid-svg-icons"
6
8
7
9
const cx = ( ...classNames : string [ ] ) : string =>
8
10
classNames . filter ( Boolean ) . join ( " " )
@@ -369,7 +371,11 @@ const MultiselectHierarchicalMenuItem = ({
369
371
hasSubLevel ? "" : "--child"
370
372
} `}
371
373
>
372
- { isOpen ? "-" : "+" }
374
+ { isOpen ? (
375
+ < FontAwesomeIcon icon = { faMinus } size = "2xs" />
376
+ ) : (
377
+ < FontAwesomeIcon icon = { faPlus } size = "2xs" />
378
+ ) }
373
379
</ button >
374
380
) : (
375
381
< input
You can’t perform that action at this time.
0 commit comments