I make some reaserch on stack overflow, some topic have similar question, but they usually was asking about another library.
In most cases position: sticky; top: -1px give the sticky header Table. In my case do not get it.
           <thead
      style={{position: "sticky", top: 0}}
            >
              <tr>
                <th  style={{position: "sticky", top: "-1px"}} scope="col">y </th>
                <th  style={{position: "sticky", top: "-1px"}} scope="col">x </th>
                <th  style={{position: "sticky", top: "-1px"}} scope="col">z</th>
          
              </tr>
