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
  f473b20e_2ded_66b9_f1c4_1470239c878d["CarouselContextProps"]
  6e062cf6_8484_b47c_befe_53e1b99f8534["carousel.tsx"]
  f473b20e_2ded_66b9_f1c4_1470239c878d -->|defined in| 6e062cf6_8484_b47c_befe_53e1b99f8534
  style f473b20e_2ded_66b9_f1c4_1470239c878d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/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/default/ui/carousel.tsx.
Where is CarouselContextProps defined?
CarouselContextProps is defined in deprecated/www/registry/default/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