import { useRef } from "react" import CSSBox, { CSSBoxRef } from "@/fancy/components/blocks/css-box" export default function CSSBoxDemo() { const boxRef = useRef(null) // Example text face component const TextFace = ({ texts, className, }: { texts: string[] className?: string }) => (
{texts.map((text, i) => (
{text}
))}
) return ( ), back: ( ), right: ( ), left: ( ), top: ( ), bottom: ( ), }} className="text-3xl" /> ) }