use react to wrap datatables