diff --git a/scripts/make-react.js b/scripts/make-react.js index 35187e62..6169dd34 100644 --- a/scripts/make-react.js +++ b/scripts/make-react.js @@ -58,8 +58,7 @@ components.map(component => { React.ComponentPropsWithoutRef & { ref?: React.ForwardedRef; } - > & - Omit, 'ref'>; + > & { displayName?: string } const tagName = '${component.tagName}'