title: I want to add CSS for my child class in React Native
body: <p>An answer is required in <strong>React Native</strong>.</p>
  
  <pre><code>&lt;View&gt;
    &lt;View className="parent1"&gt;
      &lt;Text&gt;hello with green&lt;/Text&gt;
    &lt;/View&gt;
    &lt;View&gt;
      &lt;Text&gt;hello with default color&lt;/Text&gt;
    &lt;/View&gt;
  &lt;/View&gt;
  </code></pre>
  
  <p>Now I want to add <strong>CSS</strong> to <strong>Text</strong> which has a <strong>parent</strong> whose <strong>classname</strong> is <strong>parent1</strong> in <strong><em>React Native</em></strong>.</p>