create restart button

This commit is contained in:
leander committed 2025-06-20 00:44:37 +02:00
1 parent 97687fb750
commit bbaf026ebb
1 file changed
+17
+17
View File
@@ -0,0 +1,17 @@
import React from "react";
import { VscDebugRestart } from "react-icons/vsc";
interface RestartButtonProps {
onClick: () => void;
}
const RestartButton: React.FC<RestartButtonProps> = ({ onClick }) => (
<button
className="border-accent2 text-accent2 bg-accent2light hover:bg-accent2 hover:border-accent2light hover:text-accent2light cursor-pointer rounded-full border-2 p-2 text-xl"
onClick={onClick}
>
<VscDebugRestart />
</button>
);
export default RestartButton;