"use client";
import { useState, type FC } from "react";

import BillingsList from "@/components/billings/billing-list";

const NetworkListContent: FC = () => {
  const [billingIds, setBillingIds] = useState([]);
  const [isOpen, setOpen] = useState(false);
  return (
    <>
      <div className="block items-center justify-between border-b border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-800 sm:flex">
        <div className="mb-1 w-full">
          <div className="mb-2">
            <h1 className="text-xl font-semibold text-gray-900 dark:text-white sm:text-2xl">
              Billings collections
            </h1>
          </div>
        </div>
      </div>
      <div className="flex flex-col">
        <div className="overflow-x-auto">
          <div className="inline-block min-w-full align-middle">
            <div className="overflow-hidden shadow">
              <BillingsList
                setBillingIds={setBillingIds}
                billingIds={billingIds}
              />
            </div>
          </div>
        </div>
      </div>
    </>
  );
};

export default NetworkListContent;
