import React from 'react';
import { connect } from 'react-redux';
import classNames from 'classnames';
import ReactTooltip from 'react-tooltip';
const Plugin = ({id, label, description, status}) => {
const error = status !== 'ok';
const className = classNames({ error });
const title = `Plugin description: ${description}
Status: ${status}`;
// Inner span to hold styling so we don't effect the "before:content"
return (
{error && }
{label || id}