Skip to content

Commit eb85660

Browse files
committed
Change render prop name
1 parent 67c4e8a commit eb85660

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/drops/menu/dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Dropdown = ({
3535
Footer,
3636
value,
3737
hasSearch,
38-
renderSelectAll,
38+
renderComponent,
3939
searchMargin = [4],
4040
gap = 0,
4141
estimateSize = defaultEstimateSize,
@@ -94,7 +94,7 @@ const Dropdown = ({
9494
<Search data-testid="dropdown-search" placeholder="Search" onChange={setSearchValue} />
9595
</Box>
9696
)}
97-
{typeof renderSelectAll === "function" && renderSelectAll({ searchValue, filteredItems })}
97+
{typeof renderComponent === "function" && renderComponent({ searchValue, filteredItems })}
9898
{showNoSearchResults && filteredItems.length === 0 && searchValue ? (
9999
<NoSearchResultsComponent />
100100
) : null}

0 commit comments

Comments
 (0)