cluedin-widget
Version: 
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
24 lines (21 loc) • 619 B
JSX
import React, { Component } from 'react';
import AllProviderListRow from './allProviderListRow.jsx';
import theme from '../../../theme';
export default class AllProviderList extends Component {
  render() {
    const { providers, onProviderClick, isLink } = this.props;
    return (
      <ul style={theme.list.integrationList.list}>
        { providers.map((provider, i) => {
          return (
            <AllProviderListRow
              key={i}
              isLink={isLink}
              onProviderClick={onProviderClick}
              provider={provider}
            />);
        })}
      </ul>
    );
  }
};