mirror of
https://github.com/UiO-Gaming/name-100-uio-gamers.git
synced 2026-11-05 13:56:53 +01:00
create restart button
This commit is contained in:
1 file changed
+17
@@ -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;
|
||||
Reference in new issue
Block a user