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

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

export const LeverageActions = ({ isLoading, onRefresh }: LeverageActionsProps) => (
  <ResourceListActions
    isLoading={isLoading}
    onRefresh={onRefresh}
    addLabel="Add Loan"
    addOptions={[{ label: "Create Leverage", path: "/cash/leverage/form" }]}
  />
);
