diff --git a/src/components/SearchSuggest/index.tsx b/src/components/SearchSuggest/index.tsx index 6e72a2f1..6545548a 100644 --- a/src/components/SearchSuggest/index.tsx +++ b/src/components/SearchSuggest/index.tsx @@ -32,6 +32,7 @@ export interface SearchSuggestProps { provider: ISearchProvider; placeholder?: string; classNameContainer?: string; + classNameClose?: string; className?: string; onFocus?: (event: SyntheticEvent) => void; onBlur?: (event: SyntheticEvent) => void; @@ -47,14 +48,14 @@ export interface SearchSuggestApi { const MIMIC_PC_CONTROL = 'pc-control pc-control_size_l pc-control_theme_primary'; -function CloseButton({onClick}: {onClick: MouseEventHandler}) { +function CloseButton({onClick, className}: {onClick: MouseEventHandler; className?: string}) { const {t} = useTranslation('search'); return (