From 1ca13a07d513c239146f3725df3c8377b3cd8a87 Mon Sep 17 00:00:00 2001 From: Aaron Allan Date: Tue, 9 Jun 2020 16:31:43 -0700 Subject: [PATCH] update PropTypes --- PlaidLink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlaidLink.js b/PlaidLink.js index 4ea505a9..26ef96f2 100644 --- a/PlaidLink.js +++ b/PlaidLink.js @@ -203,7 +203,7 @@ PlaidLink.propTypes = { oauthStateId: PropTypes.string, // Underlying component to render - component: PropTypes.func, + component: PropTypes.elementType, // Props for underlying component componentProps: PropTypes.object,