"use client" import * as React from "react" import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog" import { Button } from "@/components/ui/button" import { VendorsListTable } from "./vendor-list/vendor-list-table" interface VendorsListTableProps { rfqId: number // so we know which RFQ to insert into } /** * A dialog that contains a client-side table or infinite scroll * for "all vendors," allowing the user to select vendors and add them to the RFQ. */ export function AddVendorDialog({ rfqId }: VendorsListTableProps) { const [open, setOpen] = React.useState(false) return ( Add Vendor to RFQ ) }