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

Question: How to use angular transclusion in a Storybook.js #2827

Closed
vivitali opened this issue Jan 24, 2018 · 2 comments
Closed

Question: How to use angular transclusion in a Storybook.js #2827

vivitali opened this issue Jan 24, 2018 · 2 comments

Comments

@vivitali
Copy link

vivitali commented Jan 24, 2018

Issue details

Hi, is it possible in a story put some message via transcluding?

"@storybook/angular": "^3.3.9",

Steps to reproduce

// component template
<button [type]="type"
        [ngClass]="['button']"
        [disabled]="disabled"
        [name]="name"
        >
  <ng-content></ng-content>
</button>

In that case, a button is empty. Is there any way to pass some text(html) in stories?

@igor-dv
Copy link
Member

igor-dv commented Jan 24, 2018

@vasinkevych it's duplicate to #2817

@vivitali
Copy link
Author

vivitali commented Jan 24, 2018

Thanks a lot

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