UNPKG

@bedrock-layout/reel

Version:
27 lines (26 loc) 746 B
import { Gutter } from "@bedrock-layout/spacing-constants"; /** * Props for the Reel component. */ export type ReelProps = { /** * Sets the scroll snap type. */ snapType?: "none" | "proximity" | "mandatory"; /** * Sets space between each element. * @deprecated Use `gap` instead. */ gutter?: Gutter; /** * Sets space between each element. */ gap?: Gutter; }; /** * Scrolling is a popular and natural way to interact with * web content. The `Reel` component is designed to organize * content into scrollable horizontal list with convenient scroll * snap points. */ export declare const Reel: import("@bedrock-layout/type-utils").PolymorphicForwardedRefComponent<"div", ReelProps>;