Open
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.
Metadata
Assignees
Labels
No labels