atlassian / extract-react-types

One stop shop for documenting your react components.
https://atlassian.github.io/extract-react-types/
MIT License
179 stars 28 forks source link

Support for both React.FC and FC #181

Closed danieldelcore closed 3 years ago

danieldelcore commented 3 years ago

We currently dont support this:

const MyComponent: React.FC<Props> = () => ()

but do support this:

const MyComponent:FC<Props> = () => ()