* Props for the BoxCarousel component
| 167 | * Props for the BoxCarousel component |
| 168 | */ |
| 169 | interface BoxCarouselProps extends React.HTMLProps<HTMLDivElement> { |
| 170 | /** |
| 171 | * Array of items to display in the carousel |
| 172 | */ |
| 173 | items: CarouselItem[] |
| 174 | |
| 175 | /** |
| 176 | * Width of the carousel in pixels |
| 177 | */ |
| 178 | width: number |
| 179 | |
| 180 | /** |
| 181 | * Height of the carousel in pixels |
| 182 | */ |
| 183 | height: number |
| 184 | |
| 185 | /** |
| 186 | * Additional CSS classes for the container |
| 187 | */ |
| 188 | className?: string |
| 189 | |
| 190 | /** |
| 191 | * Enable debug mode (shows extra info/overlays) |
| 192 | */ |
| 193 | debug?: boolean |
| 194 | |
| 195 | /** |
| 196 | * Perspective value for 3D effect (in px) |
| 197 | * @default 600 |
| 198 | */ |
| 199 | perspective?: number |
| 200 | |
| 201 | /** |
| 202 | * The axis and direction of rotation |
| 203 | * @default "vertical" |
| 204 | * "top" | "bottom" | "left" | "right" |
| 205 | */ |
| 206 | direction?: RotationDirection |
| 207 | |
| 208 | /** |
| 209 | * Transition configuration for rotation animation |
| 210 | * @default { duration: 1.25, ease: [0.953, 0.001, 0.019, 0.995] } |
| 211 | */ |
| 212 | transition?: ValueAnimationOptions |
| 213 | |
| 214 | /** |
| 215 | * Transition configuration for snapping after drag |
| 216 | * @default { type: "spring", damping: 30, stiffness: 200 } |
| 217 | */ |
| 218 | snapTransition?: ValueAnimationOptions |
| 219 | |
| 220 | /** |
| 221 | * Spring physics config for drag interaction |
| 222 | * @default { stiffness: 200, damping: 30 } |
| 223 | */ |
| 224 | dragSpring?: SpringConfig |
| 225 | |
| 226 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected