How to use transformItems in connectInfiniteHits mixin?

Hello,

I want to know, how can I use the transformItems prop that’s present on <ais-hits> and <ais-infinite-hits> components on a guide like this one.

In this code, where can I add a transformItems property, I can’t seem to find how to do it:

import { createWidgetMixin } from "vue-instantsearch/vue3/es";
import { connectInfiniteHits } from "instantsearch.js/es/connectors";

export default {
 mixins: [
    createWidgetMixin({
      connector: connectInfiniteHits,
    }),
  ],
}
1 Like

Anyone has any idea on this?