'use client';

import React from 'react';

interface SplitHeadingProps {
  children: React.ReactNode;
  className?: string;
  id?: string;
}

export default function SplitHeading({ children, className = '', id }: SplitHeadingProps) {
  return (
    <div 
      id={id}
      className={className}
    >
      <h2 className="text-2xl md:text-3xl font-bold leading-tight text-text-primary">
        {children}
      </h2>
    </div>
  );
}
