Skip to content

Commit

Permalink
rename prop
Browse files Browse the repository at this point in the history
  • Loading branch information
spark33 committed Sep 18, 2023
1 parent 63bd45d commit b1030dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/funny-rivers-look.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'@leafygreen-ui/popover': minor
---

Exports a unique `contentClassName` from Popover to enable styling of Popover inner content wrapper.
Exports a unique `contentClassName` from Popover to enable styling of Popover inner content wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const SearchResultsMenu = React.forwardRef<
portalClassName,
portalContainer,
scrollContainer,
dropdownFooterSlot,
footerSlot,
...rest
}: SearchResultsMenuProps,
ref,
Expand Down Expand Up @@ -98,7 +98,7 @@ export const SearchResultsMenu = React.forwardRef<
>
{React.Children.count(children) ? children : <EmptyOption />}
</ul>
{dropdownFooterSlot}
{footerSlot}
</>
)}
</Popover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export type SearchResultsMenuProps = HTMLElementProps<'ul', HTMLUListElement> &
PortalControlProps & {
refEl: React.RefObject<HTMLElement>;
open?: boolean;
dropdownFooterSlot?: ReactElement;
footerSlot?: ReactElement;
};

0 comments on commit b1030dd

Please sign in to comment.