import React from "react";
import { Button } from "@/app/components/ui/button";
import Link from "next/link";

type ActionMenuProps = {
  children?: React.ReactNode;
};

export function ActionMenu({ children }: ActionMenuProps) {
  return (
    <div className="flex items-center bg-secondary rounded-md p-2 gap-2">
      {children}
      <Link href={"/"}>
        <Button>New</Button>
      </Link>
    </div>
  );
}
