"use client";
import { deleteSong } from "./actions";

export default function DeleteSongButton({
  className,
  id,
}: {
  className?: string | undefined;
  id: number;
}) {
  return (
    <button
      className={className}
      onClick={() => {
        deleteSong(id);
      }}
    >
      删除
    </button>
  );
}
