export function ModuleList(props: {
  title: string;
  items: Array<{ title: string; path: string; description: string }>;
}) {
  return (
    <div className="moduleList">
      <h3>{props.title}</h3>
      {props.items.map((item) => (
        <div className="moduleRow" key={item.path}>
          <div>
            <strong>{item.title}</strong>
            <p>{item.description}</p>
          </div>
          <span>{item.path}</span>
        </div>
      ))}
    </div>
  );
}
