From 86889167f01e922a1a5a799ad7003650bf90dc69 Mon Sep 17 00:00:00 2001 From: NikitaRodyukov Date: Wed, 25 Dec 2024 13:19:33 +0300 Subject: [PATCH] fix(select): fixed footerClassname prop passing in VirtualOptionsList --- .changeset/tender-impalas-suffer.md | 5 +++++ .../select/src/components/virtual-options-list/Component.tsx | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/tender-impalas-suffer.md diff --git a/.changeset/tender-impalas-suffer.md b/.changeset/tender-impalas-suffer.md new file mode 100644 index 0000000000..680a1aebaf --- /dev/null +++ b/.changeset/tender-impalas-suffer.md @@ -0,0 +1,5 @@ +--- +'@alfalab/core-components-select': patch +--- + +Исправили прокидку пропса `footerClassName` в виртуальном списке diff --git a/packages/select/src/components/virtual-options-list/Component.tsx b/packages/select/src/components/virtual-options-list/Component.tsx index 676eeae60e..4e135e94d3 100644 --- a/packages/select/src/components/virtual-options-list/Component.tsx +++ b/packages/select/src/components/virtual-options-list/Component.tsx @@ -33,6 +33,7 @@ export const VirtualOptionsList = forwardRef( visibleOptions = DEFAULT_VISIBLE_OPTIONS, header, footer, + footerClassName, showFooter = true, optionsListWidth, onScroll, @@ -261,7 +262,7 @@ export const VirtualOptionsList = forwardRef( {showFooter && footer && (
visibleOptions, })}