'use client';
import { forwardRef, HTMLAttributes, cloneElement, ReactElement } from 'react';
import styles from './reflection-text.module.css';
export interface ReflectionTextProps extends HTMLAttributes {
/** The text to display with reflection effect */
children: React.ReactNode;
/** Reflection opacity (0-1, default: 0.3) */
reflectionOpacity?: number;
/** Blur amount in pixels for the reflection (default: 2) */
blur?: number;
/** Skew transformation in degrees (default: 0) */
skew?: number;
/** Gap between text and reflection in pixels (default: 8) */
gap?: number;
}
export const ReflectionText = forwardRef(
(
{
children,
reflectionOpacity = 0.3,
blur = 2,
skew = 0,
gap = 8,
className,
style,
...props
},
ref
) => {
return (
);
}
);
ReflectionText.displayName = 'ReflectionText';
export default ReflectionText;