Closed
Description
We have a component that looks something like this:
/**
* @flow
*/
import * as React from 'react';
type Props = $ReadOnly<{|
tabs: $ReadOnlyArray<string>,
|}>;
const TetraAdminTabs = React.memo<Props>((props: Props) => (
<div></div>
));
export default TetraAdminTabs;
When I run react-docgen
normally I get the information for the component. If I use --resolver findAllComponentDefinitions
. I get Error: No suitable component definition found
.
I think findAllComponentDefinitions
should be able to find the default exported one.
I'll investigate this myself but just wanted to post to keep track of it.