Check out example codes for "hide the default tooltip behaviour from safari". It will help you in understanding the concepts better.

Code Example 1

&::before {
  content: '';
  display: block;
}

Learn ReactJs, React Native from akashmittal.com