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

[Feature]: Support webcomponent #190

Open
dennyak47 opened this issue Dec 2, 2024 · 2 comments
Open

[Feature]: Support webcomponent #190

dennyak47 opened this issue Dec 2, 2024 · 2 comments

Comments

@dennyak47
Copy link

What problem does this feature solve?

Support webcomponent, so the story render function can support:

import {html} from "lit"
const primary = {
  render:()=>html`<my-component></my-component>`
}

What does the proposed API look like?

import {html} from "lit"
const primary = {
  render:()=>html`<my-component></my-component>`
}
@fi3ework
Copy link
Member

fi3ework commented Dec 2, 2024

Which lit version you're using?

@dennyak47
Copy link
Author

dennyak47 commented Dec 4, 2024

Which lit version you're using?

I am using lit 3

But this should work for lit 2

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