'use client';
import { forwardRef, HTMLAttributes } from 'react';
import styles from './shadow-glitch.module.css';
export interface ShadowGlitchProps extends HTMLAttributes {
/** The text to display with glitch shadows */
children: string;
/** Primary shadow color */
shadowColor1?: string;
/** Secondary shadow color */
shadowColor2?: string;
/** Shadow offset distance in pixels */
offset?: number;
/** Glitch intensity: subtle, medium, intense */
intensity?: 'subtle' | 'medium' | 'intense';
/** Enable animation on hover */
hover?: boolean;
}
export const ShadowGlitch = forwardRef(
(
{
children,
shadowColor1 = '#ff0040',
shadowColor2 = '#00ffff',
offset = 3,
intensity = 'medium',
hover = false,
className,
style,
...props
},
ref
) => {
return (
{children}
);
}
);
ShadowGlitch.displayName = 'ShadowGlitch';
export default ShadowGlitch;