web2019/static/js/shop.jsx

10 lines
245 B
JavaScript

'use strict';
import React from "react";
import { createRoot } from "react-dom/client";
import { Shop } from "./shop/Shop.jsx"
import { data } from "./shop/utils"
createRoot(document.querySelector('#root-shop')).render(<Shop data={data} />);