1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00

🐛 Fix incorrect typing in Area

This commit is contained in:
Steffo 2021-08-20 05:04:00 +02:00
parent c70549e545
commit bfbcaafeab
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -22,7 +22,7 @@ export function Area({onChange, ...props}: AreaProps): JSX.Element {
const onChangeWrapper = React.useCallback( const onChangeWrapper = React.useCallback(
(event: React.ChangeEvent<HTMLInputElement>): boolean => { (event: React.ChangeEvent<HTMLTextAreaElement>): boolean => {
const contents = event.target.value const contents = event.target.value
if(onChange) { if(onChange) {