Convert RegistrationForm to Typescript
This commit is contained in:
parent
d45d0c6633
commit
3dcb58f108
3 changed files with 113 additions and 94 deletions
|
@ -64,7 +64,7 @@ interface IProps {
|
|||
// All other props pass through to the <input>.
|
||||
}
|
||||
|
||||
interface IInputProps extends IProps, InputHTMLAttributes<HTMLInputElement> {
|
||||
export interface IInputProps extends IProps, InputHTMLAttributes<HTMLInputElement> {
|
||||
// The element to create. Defaults to "input".
|
||||
element?: "input";
|
||||
// The input's value. This is a controlled component, so the value is required.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue