text: import { Page } from "@shopify/polaris";
  import React from "react";
  import ProductList from "./ProductList";
  
  function ProductPage({ setIsOpen, products }) {
    return (
      <Page
        title="Product Selector"
        primaryAction={{
          content: "Select product",
          onAction: () => setIsOpen(true),
        }}
      >
        <ProductList products={products} />
      </Page>
    );
  }
  
  export default ProductPage;
  