Update Textarea type

revert-5af0e40a
Justin 2022-04-12 09:49:41 -04:00 zatwierdzone przez Alex Gleason
rodzic 5e626995df
commit f625e13a25
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1,14 +1,13 @@
import classNames from 'classnames';
import React from 'react';
interface ITextarea {
interface ITextarea extends Pick<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'maxLength' | 'onChange' | 'required'> {
autoFocus?: boolean,
defaultValue?: string,
name?: string,
isCodeEditor?: boolean,
placeholder?: string,
value?: string,
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void
}
const Textarea = React.forwardRef(