This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Frontend/src/app/components/action-menu.tsx

16 lines
363 B
TypeScript

import React from "react";
type ActionMenuProps = {
children?: React.ReactNode;
};
export function ActionMenu({ children }: ActionMenuProps) {
return (
<div className="absolute top-0 right-0 flex flex-col items-end mx-3 mt-2">
<div className="flex items-center bg-secondary rounded-md p-2 gap-2">
{children}
</div>
</div>
);
}