score:1

Accepted answer

you need to remove these:

  padding: 20,
  margintop: 10,
  marginbottom: 10,

add height: 100vh to styles and give a style={{ backgroundcolor: "white" }} to your listsubheader comp.

updated demo


Related Query

More Query from same tag