Hi,
I am trying to create a component in Kibana using React. Like below.
<new-react-component>
<div>some existing code in .html file
</div>
</new-react-component>
The new-react-component is a react component. And I did use something like reactDirective(wrapInI18nContext(NewReactComponent)). But it looks like children elements was not filled to props.children.
Am I doing the correct way? How can I pass the nested children to the components?
Thanks!!