import { ResourceListActions } from "@/components/common/ResourceListActions";

interface DepositActionsProps {
  isLoading: boolean;
  onRefresh: () => void;
}

export const DepositActions = ({ isLoading, onRefresh }: DepositActionsProps) => (
  <ResourceListActions
    isLoading={isLoading}
    onRefresh={onRefresh}
    addLabel="Add Deposit"
    addOptions={[
      { label: "Call Deposit", path: "/cash/deposit/calldeposit" },
      { label: "Fixed Deposit", path: "/cash/deposit/fixeddeposit" },
    ]}
  />
);
