From 74902466cc5f881756b2554daaffa2b241e01976 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Mon, 25 Nov 2019 11:25:48 +0100 Subject: [PATCH] Add a note that only named exports are supported --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ca19bbc7..78b75589 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ componentNameResolver: (exp, source) => exp.getName() === 'StyledComponentClass' In the example folder you can see React Styleguidist integration. +**Warning:** only named exports are supported. If your project uses default exports, you still need to include named exports for `react-docgen-typescript`. + The component [`Column.tsx`](./examples/react-styleguidist-example/components/Column.tsx) ```javascript