Make keys buttons
This commit is contained in:
parent
3024a19b69
commit
460ec8facd
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue