Skip to content

support story as HTML Node #42

@nogizhopaboroda

Description

@nogizhopaboroda

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions