-
I have a component that renders a table cell TD It's not possible to render out just a TD as part of a preview (afaik). Chrome and Safari renders just the inner text. It needs to be surrounded by a TR and TABLE. Is there a way to do this? A non-working example....
If not, I'd be happy to work on a PR if pointed in the right direction. I think there may be other examples/use cases of components that somewhat rely on their parent container and would be handy to be able to preview them. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@robzolkos that seems like a very real problem! Would you be up for filing an issue as this is a feature request? Or, if you so desire, a PR with a failing test case would be even better! |
Beta Was this translation helpful? Give feedback.
-
Work on this is progressing in #353 Thanks to all involved, this is great ❤️ |
Beta Was this translation helpful? Give feedback.
-
#353 has been merged and elegantly addresses the problem I outlined above. Thanks to all ❤️ |
Beta Was this translation helpful? Give feedback.
#353 has been merged and elegantly addresses the problem I outlined above. Thanks to all ❤️