UNPKG

@bedrock-layout/reel

Version:
26 lines (25 loc) 763 B
import { Gutter, PaddingConfig } 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. */ gap?: Gutter; /** * Sets padding on the component using design system spacing scale. */ padding?: PaddingConfig; }; /** * 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>;