);
},
},
});
```
-If your renderer doesn't support `Fragment`s, you can use `div.aa-ItemWrapper`.
-
### Link item
-To wrap an item within a link, use the `.aa-ItemLink` class.
+To wrap an item within a link, use the `.aa-ItemLink` class in place of the element with `.aa-ItemWrapper`. **Make sure not to use both together.**
```jsx
autocomplete({
diff --git a/packages/website/docs/getting-started.mdx b/packages/website/docs/getting-started.mdx
index d0eedf0cc..9b2583da7 100644
--- a/packages/website/docs/getting-started.mdx
+++ b/packages/website/docs/getting-started.mdx
@@ -204,7 +204,7 @@ autocomplete({
function ProductItem({ hit, components }: ProductItemProps) {
return (
-
+
);
}
```
@@ -249,7 +249,7 @@ Once available to your templates, you can use it to send events using [Insights
```jsx title="ProductItem.jsx"
function ProductItem({ hit, insights, components }) {
return (
-
+