Check out example codes for "remove arrow summary tag css". It will help you in understanding the concepts better.

Code Example 1

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

Learn ReactJs, React Native from akashmittal.com