Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stateless component descriptions are ignored if declaration is exported #51

Closed
davidtheclark opened this issue Jan 17, 2016 · 2 comments
Labels

Comments

@davidtheclark
Copy link

If I do this, my docBlock component description works as expected:

/**
 * Description here.
 */
function myComponent() { .. }
export default myComponent;

However, in this situation the description comes out blank:

/**
 * Description here.
 */
export default function myComponent() { .. }

Am I misunderstanding something, or is this a bug?

@fkling fkling added the bug label Jan 19, 2016
@fkling fkling closed this as completed in 0b8546a Jan 19, 2016
@fkling
Copy link
Member

fkling commented Jan 19, 2016

Thanks for reporting! Fixed and released with v2.6.2.

@davidtheclark
Copy link
Author

Excellent, thanks!

On Tue, Jan 19, 2016 at 9:46 AM, Felix Kling notifications@github.com
wrote:

Thanks for reporting! Fixed and released with v2.5.2.


Reply to this email directly or view it on GitHub
#51 (comment)
.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants