From 079e3d0a9f2d3a38884c052200ae3b1569853151 Mon Sep 17 00:00:00 2001 From: Tiago Sousa Date: Mon, 23 Nov 2020 17:47:16 +0000 Subject: [PATCH] Update forwardedRef type (#396) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index e07f768b..b9619263 100644 --- a/index.d.ts +++ b/index.d.ts @@ -21,7 +21,7 @@ export type Props = FontAwesomeIconProps type BackwardCompatibleOmit = Pick>; export interface FontAwesomeIconProps extends BackwardCompatibleOmit, 'children' | 'mask' | 'transform'> { - forwardedRef?: ((e: any) => void) | React.RefObject + forwardedRef?: ((e: any) => void) | React.MutableRefObject | null icon: IconProp mask?: IconProp className?: string