Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3dcb58f

Browse files
committed
Convert RegistrationForm to Typescript
1 parent d45d0c6 commit 3dcb58f

File tree

3 files changed

+113
-94
lines changed

3 files changed

+113
-94
lines changed

src/components/views/auth/PassphraseField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import zxcvbn from "zxcvbn";
2121
import SdkConfig from "../../../SdkConfig";
2222
import withValidation, {IFieldState, IValidationResult} from "../elements/Validation";
2323
import {_t, _td} from "../../../languageHandler";
24-
import Field from "../elements/Field";
24+
import Field, {IInputProps} from "../elements/Field";
2525

26-
interface IProps {
26+
interface IProps extends Omit<IInputProps, "onValidate"> {
2727
autoFocus?: boolean;
2828
id?: string;
2929
className?: string;

0 commit comments

Comments
 (0)