From edf2bd560299c4033cf2e3ff19f75fd0e082655b Mon Sep 17 00:00:00 2001 From: Artem Nechunaev Date: Wed, 7 Mar 2018 15:47:14 +0300 Subject: [PATCH] Add test for inputRef prop --- types/react-input-mask/react-input-mask-tests.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/react-input-mask/react-input-mask-tests.tsx b/types/react-input-mask/react-input-mask-tests.tsx index d116b2b27a..a34b15ac99 100644 --- a/types/react-input-mask/react-input-mask-tests.tsx +++ b/types/react-input-mask/react-input-mask-tests.tsx @@ -1,10 +1,13 @@ import ReactInputMask from 'react-input-mask'; import * as React from 'react'; +let ref: HTMLInputElement | null = null; +
+ ref = node} />
;