Make keys buttons

This commit is contained in:
Khemarato Bhikkhu 2022-01-23 15:31:27 +07:00
parent 3024a19b69
commit 460ec8facd

View file

@ -31,12 +31,12 @@ export const Key = ({
) )
return ( return (
<div <button
style={{ width: `${width}px`, height: '58px' }} style={{ width: `${width}px`, height: '58px' }}
className={classes} className={classes}
onClick={() => onClick(value)} onClick={() => onClick(value)}
> >
{children || value} {children || value}
</div> </button>
) )
} }