Storefront
ScrollSnapRail
Autogenerated reference for ScrollSnapRail. This page is derived from source metadata and lists inferred props, but it still needs authored guidance and examples.
Import
import { ScrollSnapRail } from "@enadhq/enad-react-sdk/client/storefront"Autogenerated reference
This page was generated from source metadata so the component is searchable and has a prop table, but it still needs authored guidance, examples, and design notes.
Slots
rootviewportitempaginationcontrols
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| activeIndex | number | — | No description yet. |
| index | number | — | No description yet. |
| defaultIndex | number | 0 | No description yet. |
| onIndexChange | string | — | No description yet. |
| className | string | — | No description yet. |
| classNames | ScrollSnapRailClassNames | — | No description yet. Slot keys rootviewportitempaginationcontrols |
| containWheel | boolean | true | No description yet. |
| dataSlot | string | scroll-snap-rail | No description yet. |
| itemDataSlot | string | scroll-snap-rail-item | No description yet. |
| renderControls | string | — | No description yet. |
| renderPagination | string | — | No description yet. |