React.ElementType issues #1765
Unanswered
rpcomprend
asked this question in
Help
Replies: 1 comment 1 reply
-
Hi @rpcomprend ! Could you please describe your usecase and the conditions where you encounter the error in more detail please? I think JSS does not use feaas-picker component directly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
React.ElementType relies on JSX.IntrinsicElements, which is augmented with additional components such as 'feaas-picker'. For example, following definition:
results in type error. This complication mirrors experiences encountered when integrating with libraries like Chakra.
Currently, we're resorting to substituting React.ElementType with a custom type that leverages the native JSX.IntrinsicElements. However, this workaround isn't optimal.
Are there any suggestions for improvement?
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions