import React from 'react';

const SectionTitle = ({ title }) => {
  return (
    <div className="relative mb-4">
      <div className="absolute inset-0 flex items-center">
        <div className="w-full border-t border-gray-300"></div>
      </div>
      <div className="relative flex justify-center">
        <div className="px-4 bg-white text-gray-500">{title}</div>
      </div>
    </div>
  );
};

export default SectionTitle;