"use client";

import React from 'react';

export default function GlitchText({ text, className = "" }: { text: string; className?: string }) {
  return (
    <span 
      className={`glitch-wrapper inline-block ${className}`}
      data-text={text}
    >
      <span className="glitch-text font-bold" data-text={text}>
        {text}
      </span>
    </span>
  );
}
