How to Pass More Parameters in connectHits(CustomHit)

Hello, I have followed the steps for creating a customizable component for Hits. My question is, how can I pass more parameters to my CustomHit custom component?

const CustomHitPreview = ({ hits, additionalParam}: { hits: CustomHits[], additionalParam: string}): JSX.Element => {
  return (
    <div>
      {hits.map((hit: CustomHits, index) => {
        return (
          <ResultsContainer key={index}>
            <strong>{hit.title}</strong>
            <small>{additionalParam}</small>
          </ResultsContainer>
        )
      })}
    </div>
  )
}
const ResultsPreview = connectHits(CustomHitPreview)

In my example, I want to pass additionalParam but it gives me this error if I do this:

No overload matches this call.
Overload 1 of 2, '(stateless: FunctionComponent<HitsProvided<CustomHits>>): ComponentClass<{}, any>', gave the following error.
Argument of type '({ hits, additionalParam}: { hits: CustomHits[]; additionalParam: string; }) => JSX.Element' is not assignable to parameter of type 'FunctionComponent<HitsProvided<CustomHits>>'.
Types of parameters '__0' and 'props' are incompatible.
Property 'additionalParam' is missing in type 'HitsProvided<CustomHits> & { children?: ReactNode; }' but required in type '{ hits: CustomHits[]; additionalParam: string; }'.

Is there anyone who has an idea on how to achieve this?