"use client"

import { LineChart } from "lucide-react"

import { TempMarketPriceTable } from "@/components/xml-apis/temp-market-price/components/temp-market-price-table"
import { useTempMarketPrice } from "@/components/xml-apis/temp-market-price/hooks/use-temp-market-price"
import { createXmlApiListPage } from "@/components/xml-apis/shared/create-xml-api-list-page"
import type { TempMarketPriceRow } from "@/components/xml-apis/temp-market-price/types"

export const TempMarketPriceListPage = createXmlApiListPage<TempMarketPriceRow>({
  icon: LineChart,
  title: "Temp Market Price",
  description: "Temporary market price rows from imported position XML.",
  breadcrumbLabel: "Temp Market Price",
  useList: useTempMarketPrice,
  Table: TempMarketPriceTable,
})
