From 07144f1d27b81e686cb391cf2cb505b58b5f4f19 Mon Sep 17 00:00:00 2001 From: gdjoshwood <53710645+gdjoshwood@users.noreply.github.com> Date: Mon, 4 Jan 2021 11:43:09 -0700 Subject: [PATCH] include ref prop from render function --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index cb5f680..37780ea 100644 --- a/src/types.ts +++ b/src/types.ts @@ -146,6 +146,7 @@ export type ControllerProps< onChange: (...event: any[]) => void; onBlur: () => void; value: DeepPathValue; + ref: React.MutableRefObject; }) => React.ReactElement; }, JSX.IntrinsicElements[TAs]