Merge pull request #19341 from cy6eria/patch-1

[react-maskedinput] The typo is fixed.
This commit is contained in:
Daniel Rosenwasser
2017-08-25 13:08:05 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ export interface CharsFormatters {
export interface MaskedInputProps extends React.InputHTMLAttributes<any> {
mask: string;
formatCharacter?: CharsFormatters;
formatCharacters?: CharsFormatters;
placeholderChar?: string;
}

View File

@@ -6,7 +6,7 @@ class Test extends React.Component {
return (
<MaskedInput mask="111"
placeholderChar="X"
formatCharacter={
formatCharacters={
{
a: {
validate: (char: string) => char,