basic table view of simple data working in react