react-docgen
react-docgen copied to clipboard
It doesn't support styled components typed with Flow
Take this simple styled component:
type Props = {
color: string,
};
const Foo: StatelessFunctionalComponent<Props> = styled.div`
color: ${props => props.color};
`;
// @component
export default Foo;
react-dogen doesn't detect its property types
To me it would be enough even to simply support something like // @component<Props>
or similar anyway.