atlassian / atlassian/extract-react-types
Feat: Add a way to display types that are not props
Open
- Dominant language
- JavaScript
- Stars
- 188
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
When we want to display a type that is not a prop type we do a hack like this.
```
import { AttributesType } from '../src/types';
export default function Attributes(props: AttributesType) {
return null;
}
```
It would be nice to be able to get the type directly from a file without using it in this way.
Contributor guide
Assessment
This issue has not been assessed yet.