Added boolean type to mask property (#35987)

The documentation states that the mask property can be false, but the type does not describe this feature, it is necessary when you need to disable the mask
This commit is contained in:
Hazrat Gadjikerimov 2019-06-07 20:31:52 +03:00 committed by Andrew Casey
parent 022dbd5d91
commit dd1dd258e0

View File

@ -8,7 +8,7 @@
import * as React from "react";
export type maskArray = Array<string | RegExp>;
export type maskArray = Array<string | RegExp> | boolean;
export interface MaskedInputProps
extends React.InputHTMLAttributes<HTMLInputElement> {