
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
@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 2,697 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 healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.