import * as React from 'react' ; import Result from '../Result' ; interface ResultProps { results : NotebookResultsState ; } interface ResultState { } class ResultList extends React . Component < ResultProps , ResultState > { private renderResult ( result ) { return ; } render ( ) { let results = this . props . results . map ( result => < Result key = { result . id } result = { result } / > ) ; return ( < div > { results } < /div>); } } export default ResultList ;