Feature Request:
- allow for
tag prop ( or similar ) on Theme component so it can be rendered as an element other than div
Use Case:
<Theme tag="body" dataTheme="dark">
<main>{children}</main>
</Theme>
Output:
<body data-theme="dark">
<main>
<div>Hello World</div>
</main>
</body>
Will try to open a PR if space allows and this interests the team, but floating this idea up in the meantime.
Thanks for all the work on this, so awesome!
Feature Request:
tagprop ( or similar ) onThemecomponent so it can be rendered as an element other thandivUse Case:
Output:
Will try to open a PR if space allows and this interests the team, but floating this idea up in the meantime.
Thanks for all the work on this, so awesome!