import React from "react";
import { createRoot } from "react-dom/client";
import SimpleParallax from "../../src/react";
const App = () => {
const images = [
"image.png",
/* "image.png",
"image.png",
"image.png",
"image.png", */
];
return (
COUCOU
{Array.from(Array(100).keys()).map((line) => (
{images.map((src, index) => (
))}
))}
);
};
const container = document.getElementById("root");
if (!container) throw new Error("Root container missing in index.html");
const root = createRoot(container);
root.render(
);