Home / Type/ CarouselContextProps Type — ui Architecture

CarouselContextProps Type — ui Architecture

Architecture documentation for the CarouselContextProps type/interface in carousel.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  4b88efb7_5f8c_b8dd_a56f_2f25a08bc9d0["CarouselContextProps"]
  5561f304_821d_8ffa_5ecc_71dcfb6cdd6c["carousel.tsx"]
  4b88efb7_5f8c_b8dd_a56f_2f25a08bc9d0 -->|defined in| 5561f304_821d_8ffa_5ecc_71dcfb6cdd6c
  style 4b88efb7_5f8c_b8dd_a56f_2f25a08bc9d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/carousel.tsx lines 24–31

type CarouselContextProps = {
  carouselRef: ReturnType<typeof useEmblaCarousel>[0]
  api: ReturnType<typeof useEmblaCarousel>[1]
  scrollPrev: () => void
  scrollNext: () => void
  canScrollPrev: boolean
  canScrollNext: boolean
} & CarouselProps

Frequently Asked Questions

What is the CarouselContextProps type?
CarouselContextProps is a type/interface in the ui codebase, defined in deprecated/www/registry/new-york/ui/carousel.tsx.
Where is CarouselContextProps defined?
CarouselContextProps is defined in deprecated/www/registry/new-york/ui/carousel.tsx at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free