From b1030dd636be14f6fb2606c65f4cf176c20e3753 Mon Sep 17 00:00:00 2001 From: spark33 Date: Mon, 18 Sep 2023 16:59:37 -0400 Subject: [PATCH] rename prop --- .changeset/funny-rivers-look.md | 2 +- .../search-input/src/SearchResultsMenu/SearchResultsMenu.tsx | 4 ++-- .../src/SearchResultsMenu/SearchResultsMenu.types.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.changeset/funny-rivers-look.md b/.changeset/funny-rivers-look.md index dee80ae539..e29c13e2d6 100644 --- a/.changeset/funny-rivers-look.md +++ b/.changeset/funny-rivers-look.md @@ -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 diff --git a/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.tsx b/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.tsx index 3a5f17cfb0..0350d5e5e0 100644 --- a/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.tsx +++ b/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.tsx @@ -36,7 +36,7 @@ export const SearchResultsMenu = React.forwardRef< portalClassName, portalContainer, scrollContainer, - dropdownFooterSlot, + footerSlot, ...rest }: SearchResultsMenuProps, ref, @@ -98,7 +98,7 @@ export const SearchResultsMenu = React.forwardRef< > {React.Children.count(children) ? children : } - {dropdownFooterSlot} + {footerSlot} )} diff --git a/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.types.ts b/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.types.ts index ede2c75e43..ec935c8d91 100644 --- a/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.types.ts +++ b/packages/search-input/src/SearchResultsMenu/SearchResultsMenu.types.ts @@ -7,5 +7,5 @@ export type SearchResultsMenuProps = HTMLElementProps<'ul', HTMLUListElement> & PortalControlProps & { refEl: React.RefObject; open?: boolean; - dropdownFooterSlot?: ReactElement; + footerSlot?: ReactElement; };