MCPcopy
hub / github.com/danielpetho/fancy / FaceProps

Interface FaceProps

src/fancy/components/carousel/box-carousel.tsx:52–73  ·  view source on GitHub ↗

* Props for a single face of the cube in the BoxCarousel.

Source from the content-addressed store, hash-verified

50 * Props for a single face of the cube in the BoxCarousel.
51 */
52interface FaceProps {
53 /**
54 * The CSS transform string to position and rotate the face in 3D space.
55 */
56 transform: string
57 /**
58 * Optional additional CSS class names for the face.
59 */
60 className?: string
61 /**
62 * Optional React children to render inside the face.
63 */
64 children?: ReactNode
65 /**
66 * Optional inline styles for the face.
67 */
68 style?: React.CSSProperties
69 /**
70 * If true, enables debug mode (e.g., shows backface and opacity).
71 */
72 debug?: boolean
73}
74
75const CubeFace = memo(
76 ({ transform, className, children, style, debug }: FaceProps) => (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected