This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts"> | |
const digitStyle = | |
'w-12 h-12 text-xl font-bold text-center text-gray-800 bg-gray-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-opacity-50'; | |
const handleKeyup = (e: KeyboardEvent) => { | |
const target = e.target as HTMLInputElement; | |
const next = target.dataset.next; | |
const previous = target.dataset.previous; | |
const value = target.value; |
OlderNewer