react overflow scroll

JavaScript
const divStyle={
  overflowY: 'scroll',
  border:'1px solid red',
  width:'500px',
  float: 'left',
  height:'500px',
  position:'relative'
};
Source

Also in JavaScript: