atlassian / atlassian/extract-react-types

Feat: Add a way to display types that are not props

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.