-
-
-
-
-
+ <>
+
+
+
+
+
+
{items.map((item) => {
return (
@@ -133,6 +134,6 @@ export const AnimatedListDemo = () => {
);
})}
-
+ >
);
};
diff --git a/src/index.tsx b/src/index.tsx
index 2ea5269..ba1d154 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -10,7 +10,7 @@ class AnimatedListComponent extends HTMLElement {
}
connectedCallback() {
- const rootNode = document.createElement('main');
+ const rootNode = document.createElement('section');
this.appendChild(rootNode);
this.root = createRoot(rootNode);
this.root.render(