[Idea] Generic Component #178
Cahllagerfeld
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Yeah, great idea @Cahllagerfeld! If you're ok doing that, let me know how it goes. Do you have something in mind for what to use it for? As an aside, the example sheet should probably have some work done with usage etc, but I really don't want to use Storybook, if you look back at the commits this did use Storybook but I abandoned it because it was a pain to use 😅 I think that is another discussion though! 😊 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To make the package even more flexible, a generic component might be a possibility.
What I mean by this, is an iframe wrapped inside the
Observercomponent
, taking in any props with$$restProps
.Also a
<slot/>
might be added so users can put their own markup inside the Observer, in case there need to be further customizations.Let me know what you think about it 🤔 🛹
Beta Was this translation helpful? Give feedback.
All reactions