'Is there a way to style an element which has no matching selector

I need to style certain elements in my react application, but those elements do not have any id or class, how can I style those elements?

<table>
  <table-row>
    <table-cell>
      #shadow-root
      'the text is here' <!-- need to style this, but it has no matching selector or style. -->
    </table-cell>
  </table-row>
</table>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source