import React from 'react';

const Projects = props => {
  return (
    <div className="projects list-group">
      {Object.keys(props.projects).map(projectId => {
        const ticket = props.projects[projectId][0];
        return (
          <button
            key={projectId}
            type="button"
            className="list-group-item"
            onClick={props.searchProject.bind(this, {
              company: ticket.company.name,
              project: ticket.project.name,
            })}
          >
            <strong>{ticket.company.name}</strong> &mdash; {ticket.project.name}
          </button>
        );
      })}
    </div>
  );
};

export default Projects;

import React from 'react';

const Projects = props => {
  return (
    <ul className="projects">
      {Object.keys(props.projects).map(projectId => {
        const ticket = props.projects[projectId][0];
        return (
          <li key={projectId}>
            {ticket.company.name} &mdash;
            <button
              type="button"
              className="btn-link"
              onClick={props.searchProject.bind(this, {
                company: ticket.company.name,
                project: ticket.project.name,
              })}
            >
              {ticket.project.name}
            </button>
          </li>
        );
      })}
    </ul>
  );
};

export default Projects;

--- 
+++ 
@@ -2,26 +2,24 @@
 
 const Projects = props => {
   return (
-    <ul className="projects">
+    <div className="projects list-group">
       {Object.keys(props.projects).map(projectId => {
         const ticket = props.projects[projectId][0];
         return (
-          <li key={projectId}>
-            {ticket.company.name} &mdash;
-            <button
-              type="button"
-              className="btn-link"
-              onClick={props.searchProject.bind(this, {
-                company: ticket.company.name,
-                project: ticket.project.name,
-              })}
-            >
-              {ticket.project.name}
-            </button>
-          </li>
+          <button
+            key={projectId}
+            type="button"
+            className="list-group-item"
+            onClick={props.searchProject.bind(this, {
+              company: ticket.company.name,
+              project: ticket.project.name,
+            })}
+          >
+            <strong>{ticket.company.name}</strong> &mdash; {ticket.project.name}
+          </button>
         );
       })}
-    </ul>
+    </div>
   );
 };
 
Move projects dropdown to Bootstrap list-group
