JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//code.jquery.com/jquery-latest.min.js"></script>
<button class="botao">Ver mais</button>
<div class="minhaDiv">
</div>

CSS

.minhaDiv {
  width:400px;
  height: 580px;
  border:1px solid #333;
}

JavaScript

$('.botao').on('click', function() {
     var el = $('.minhaDiv');
      if (el.height() != 1600) {
          $(this).text('Ver menos');
           el.height(1600);
      } else {
          $(this).text('Ver mais');
           el.height(580);
      }
  });