React Data Table Component Proper Update Codesandbox

React Data Table Component Proper Update Codesandbox