You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
I would like to render a react element beside the title of the tab for each tab in my tabbar. I have looked into extending the Renderer of the tab bar, but cannot see a way to render a React Node instead of a regular VirtualElement.
May be possible. But then I realised that VirtualElements are not actual elements. Is there any way for renderIcon to create an actual HTMLElement, or more broadly to create a VirtualElement from a React node?
The text was updated successfully, but these errors were encountered:
Hi!
I would like to render a react element beside the title of the tab for each tab in my tabbar. I have looked into extending the Renderer of the tab bar, but cannot see a way to render a React Node instead of a regular VirtualElement.
Ideally, it would be great to do something like:
but I figured since phosphor does not use the React virtualdom, perhaps something like
May be possible. But then I realised that
VirtualElement
s are not actual elements. Is there any way forrenderIcon
to create an actualHTMLElement
, or more broadly to create aVirtualElement
from a React node?The text was updated successfully, but these errors were encountered: