We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c4e8a commit eb85660Copy full SHA for eb85660
1 file changed
src/components/drops/menu/dropdown.js
@@ -35,7 +35,7 @@ const Dropdown = ({
35
Footer,
36
value,
37
hasSearch,
38
- renderSelectAll,
+ renderComponent,
39
searchMargin = [4],
40
gap = 0,
41
estimateSize = defaultEstimateSize,
@@ -94,7 +94,7 @@ const Dropdown = ({
94
<Search data-testid="dropdown-search" placeholder="Search" onChange={setSearchValue} />
95
</Box>
96
)}
97
- {typeof renderSelectAll === "function" && renderSelectAll({ searchValue, filteredItems })}
+ {typeof renderComponent === "function" && renderComponent({ searchValue, filteredItems })}
98
{showNoSearchResults && filteredItems.length === 0 && searchValue ? (
99
<NoSearchResultsComponent />
100
) : null}
0 commit comments