cluedin-widget
Version:
This is the project for creating and managing widgets in CluedIn.
18 lines (15 loc) • 695 B
JSX
import React, { Component } from 'react'
import CurrentProviderListRow from './currentProviderListRow.jsx'
import { CluedInList } from '../generics/cluedinList.jsx'
export default class CurrentProviderList extends Component {
render() {
const { providers, onAuthHandler } = this.props;
return (<div className="cluedIn_currentProviderList"><CluedInList>
{ providers.map( ( p, i ) => {
return <CurrentProviderListRow onAuthHandler={onAuthHandler}
key={i}
provider={p}></CurrentProviderListRow>;
} ) }
</CluedInList></div>);
}
};