Chaos Commit

This commit is contained in:
SwimJéjé 2024-12-06 05:35:47 +01:00
parent 525ce0515c
commit e1bcb4b022
4 changed files with 107 additions and 0 deletions

View file

@ -0,0 +1,19 @@
import { useState } from "react";
export default function MonButton({letter,changetext,sizeFrontw,sizeFronth,rdmFront,color}) {
function clicked() {rdmFront();
changetext(letter)}
return (
<div>
<button className="key" onClick={clicked} style={{width:sizeFrontw,height:sizeFronth,background:color}}>{letter}</button>
</div>
)
}