"use client"

import { Percent } from "lucide-react"

import { TempAccruedTable } from "@/components/xml-apis/temp-accrued/components/temp-accrued-table"
import { useTempAccrued } from "@/components/xml-apis/temp-accrued/hooks/use-temp-accrued"
import { createXmlApiListPage } from "@/components/xml-apis/shared/create-xml-api-list-page"
import type { TempAccruedRow } from "@/components/xml-apis/temp-accrued/types"

export const TempAccruedListPage = createXmlApiListPage<TempAccruedRow>({
  icon: Percent,
  title: "Temp Accrued",
  description: "Temporary accrued interest records from XML imports.",
  breadcrumbLabel: "Temp Accrued",
  useList: useTempAccrued,
  Table: TempAccruedTable,
})
