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

support story as HTML Node #42

Open
nogizhopaboroda opened this issue Jan 11, 2018 · 2 comments
Open

support story as HTML Node #42

nogizhopaboroda opened this issue Jan 11, 2018 · 2 comments

Comments

@nogizhopaboroda
Copy link
Member

example:

import { storiesOf } from 'modulor-storybook';

const $el = document.createElement('my-component');

storiesOf('My component')
  .add('default', () => $el);

This is needed to render react, vue, etc components and templates rendered by hyperhtml, bel, yoyo, etc

@nogizhopaboroda nogizhopaboroda changed the title support Node type as story support story as HTML Node Jan 11, 2018
@pankajpatel
Copy link
Member

this one is completed in #48. Closing!

@nogizhopaboroda
Copy link
Member Author

wait, that merge request was not merged

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

No branches or pull requests

2 participants