Check out example codes for "hide number input arrows". It will help you in understanding the concepts better.

Code Example 1

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,

  input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;

  }

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;

  }

Learn ReactJs, React Native from akashmittal.com