Check out example codes for "slickjs height". It will help you in understanding the concepts better.

Code Example 1

slick-track {
  display: flex !important;
}

.slick-slide {
  height: auto;
}

Learn ReactJs, React Native from akashmittal.com