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

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

export function CommodityDerivativeActions({ isLoading, onRefresh }: CommodityDerivativeActionsProps) {
  return (
    <ResourceListActions
      isLoading={isLoading}
      onRefresh={onRefresh}
      addLabel="Add Derivative"
      addOptions={[
        { label: "Accumulator", path: "/commodity/derivative/accumulator" },
        { label: "Options", path: "/commodity/derivative/option" },
      ]}
    />
  );
}
