I am trying to invoke a lit-element component in my React project and would like to pass a value to props into a lit-element component from React, but without success. I mean about props .config. In react I can't use dot. It is possible to get around it somehow and pass value to props .config?
Lit-element example:
<custom-tooltip .config=${{ position: 'right' }}>
<custom-button slot="invoker" class="demo-tooltip">Settings</custom-button>
<div slot="content">Settings and preferences<div>
</custom-tooltip>
My react code:
<custom-tooltip> //in this place .config={} not working
{this.props.children}
<div slot="content">{this.props.text}</div>
</custom-tooltip>