From e8220b0ec02751cc8b78e934336ecf9160829df4 Mon Sep 17 00:00:00 2001 From: Igor Dykhta Date: Thu, 5 Oct 2023 20:45:14 +0300 Subject: [PATCH] [chore] pass custom classes to ListHeader (#2357) --- src/components/src/common/item-selector/dropdown-list.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/src/common/item-selector/dropdown-list.tsx b/src/components/src/common/item-selector/dropdown-list.tsx index f61ad23649..f0d3860585 100644 --- a/src/components/src/common/item-selector/dropdown-list.tsx +++ b/src/components/src/common/item-selector/dropdown-list.tsx @@ -64,7 +64,7 @@ const DropdownFooterWrapper = styled.div` interface DropdownListProps { options?: any[]; allowCustomValues?: number; - customClasses?: object; + customClasses?: {listHeader?: string}; customValues?: any[]; customListItemComponent?: ElementType; customListHeaderComponent?: ElementType; @@ -209,7 +209,7 @@ export default class DropdownList extends Component {this.props.customListHeaderComponent ? ( -
+
) : null}