title: How to show Read More text after 3 lines of text without using library
body: <p>I'm creating an app where I need to display text which should only show 3 lines. If the text has exceeded, show <code>Read More</code> or <code>Hide</code>. I'm using the following code.</p>
  <pre><code>class CustomLabel extends React.Component {
  
    render() {
      return (
        &lt;View&gt;        
          &lt;Text&gt;
            Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
            eiusmod tempor. Lorem ipsum dolor sit amet, consectetur adipiscing
            elit, sed do eiusm Lorem ipsum dolor sit amet, consectetur adipiscing
            elit, sed do eiusmod tempor. Lorem ipsum dolor sit amet, consectetur
            adipiscing elit, sed do eiusm Lorem ipsum dolor sit amet, consectetur
            adipiscing elit, sed do eiusmod tempor. Lorem ipsum dolor sit amet,
            consectetur adipiscing elit, sed do eiusm Lorem ipsum dolor sit amet,
            consectetur adipiscing elit, sed do eiusmod tempor. Lorem ipsum dolor
            sit amet, consectetur
          &lt;/Text&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>