* Props for a single face of the cube in the BoxCarousel.
| 50 | * Props for a single face of the cube in the BoxCarousel. |
| 51 | */ |
| 52 | interface 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 | |
| 75 | const CubeFace = memo( |
| 76 | ({ transform, className, children, style, debug }: FaceProps) => ( |
nothing calls this directly
no outgoing calls
no test coverage detected