You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[question] Type Props for basic JSX elements #5865
Are there any packages that define the list of props that a react JSX element can take?
We would like to type our components as exact, but it's a pain to manually list all of these.
Activity
cprodescu commentedon Feb 28, 2018
These should also be listed in the
propssections of$JSXIntrinsicsdefinitions in https://github.com/facebook/flow/blob/60e640c2287c2e7b9d0f261e4c8a617763005f1e/lib/react-dom.js#L246A few questions for the friendly maintainers (cc @samwgoldman):
flowreact-dom bindings to remain unopinionated aboutpropsof JSX intrinsics?motiz88 commentedon Aug 6, 2018
Essentially a duplicate of #3773
goodmind commentedon Jun 22, 2019
Duplicate of #3773