Adds state and props to the searchable table