From 14458ce965c6a63d4e8665abbe7259ff118c033d Mon Sep 17 00:00:00 2001 From: Deividi Date: Fri, 11 May 2018 22:09:45 -0300 Subject: [PATCH] added render function --- types/react-text-mask/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/react-text-mask/index.d.ts b/types/react-text-mask/index.d.ts index 7ed81429e0..6bdaba03bc 100644 --- a/types/react-text-mask/index.d.ts +++ b/types/react-text-mask/index.d.ts @@ -20,6 +20,9 @@ export interface MaskedInputProps extends React.InputHTMLAttributes false | string | { value: string, indexesOfPipedChars: number[] }; showMask?: boolean; + + render: (ref: MaskedInput, props: any) => any; + } export interface conformToMaskResult {