button press color
This commit is contained in:
@@ -18,7 +18,7 @@ export default function Soundboard() {
|
||||
const [playTallBand] = useSound("/tallband.m4a", {soundEnabled: true});
|
||||
|
||||
const getButton = (title: string, play: () => void) => {
|
||||
return <button className="border-2 rounded-lg p-4 text-center text-xl font-medium cursor-pointer hover:bg-gray-200" onClick={() => play()}>{title}</button>
|
||||
return <button className="border-2 rounded-lg p-4 text-center text-xl font-medium cursor-pointer hover:bg-gray-200 active:bg-blue-200" onClick={() => play()}>{title}</button>
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user