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

show 'Expecting a valid React element from the story' when using a stateless component #1391

Closed
vipcxj opened this issue Jun 30, 2017 · 1 comment

Comments

@vipcxj
Copy link

vipcxj commented Jun 30, 2017

storiesOf('a', module)
.add('1', () => {
return () =>

hello world

});

this show:
Expecting a valid React element from the story: "1" of "a".

@vipcxj
Copy link
Author

vipcxj commented Jun 30, 2017

It‘s my fault, not the bug, please close this issure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants