import type { ReactNode } from "react";

export function SectionHeader({ title, note }: { title: string; note?: ReactNode }) {
  return (
    <div className="dept">
      <h2>{title}</h2>
      <span className="fill" />
      {note ? <span className="count">{note}</span> : null}
    </div>
  );
}
