From a1e6ef64dc35d3c013b1d49d66098d851ac5cea0 Mon Sep 17 00:00:00 2001 From: Martin Bohal Date: Wed, 10 Jan 2024 11:43:11 +0100 Subject: [PATCH] Update blacklisted props that can be passed to native HTML elements using the transferProps principle --- src/components/_helpers/transferProps.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/_helpers/transferProps.js b/src/components/_helpers/transferProps.js index 5e61f710..6b3acea6 100644 --- a/src/components/_helpers/transferProps.js +++ b/src/components/_helpers/transferProps.js @@ -1,7 +1,10 @@ export const transferProps = ({ - children, className, + children, + dangerouslySetInnerHTML, ref, + suppressContentEditableWarning, staticContext, + style, ...restProps }) => restProps;