
Product
Introducing Reachability for PHP
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.
@types/react-material-ui-form-validator
Advanced tools
TypeScript definitions for react-material-ui-form-validator
npm install --save @types/react-material-ui-form-validator
This package contains type definitions for react-material-ui-form-validator (https://github.com/NewOldMax/react-material-ui-form-validator).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-material-ui-form-validator.
import { SelectFieldProps, TextFieldProps } from "material-ui";
import * as React from "react";
export interface ValidatorFormProps {
className?: string | undefined;
onSubmit: (event: React.FormEvent) => void;
instantValidate?: boolean | undefined;
onError?: ((errors: any[]) => void) | undefined;
debounceTime?: number | undefined;
[key: string]: any;
}
export class ValidatorForm extends React.Component<ValidatorFormProps> {
static addValidationRule(name: string, callback: (value: any) => boolean | Promise<boolean>): void;
static removeValidationRule(name: string): void;
isFormValid(dryRun: boolean): Promise<boolean>;
resetValidations(): void;
}
export interface ValidatorComponentProps {
errorMessages?: any[] | string | undefined;
validators?: any[] | undefined;
name: string;
value: any;
validatorListener?: ((isValid: boolean) => void) | undefined;
withRequiredValidator?: boolean | undefined;
[key: string]: any;
}
export class ValidatorComponent extends React.Component<ValidatorComponentProps> {
getErrorMessage(): string | boolean;
isValid(): boolean;
makeInvalid(): void;
makeValid(): void;
validate(value: string, includeRequired?: boolean, dryRun?: boolean): void;
}
export class TextValidator extends React.Component<ValidatorComponentProps & TextFieldProps> {
getErrorMessage(): string | boolean;
isValid(): boolean;
makeInvalid(): void;
makeValid(): void;
validate(value: string, includeRequired?: boolean, dryRun?: boolean): void;
}
export class SelectValidator extends React.Component<ValidatorComponentProps & SelectFieldProps> {
getErrorMessage(): string | boolean;
isValid(): boolean;
makeInvalid(): void;
makeValid(): void;
validate(value: string, includeRequired?: boolean, dryRun?: boolean): void;
}
These definitions were written by Frank Brullo, Ivan Siacho, and J.R.
FAQs
TypeScript definitions for react-material-ui-form-validator
The npm package @types/react-material-ui-form-validator receives a total of 3,654 weekly downloads. As such, @types/react-material-ui-form-validator popularity was classified as popular.
We found that @types/react-material-ui-form-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.

Product
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.

Research
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.