UNPKG

@wix/design-system

Version:

@wix/design-system

31 lines (28 loc) 1.02 kB
### children - type: ReactNode - description: The content that will be rendered inside the scrollable window. ### scrollDistance - type: number - description: The number of pixels the scrollable content moves per button press. - default: 150 ### scrollDebounce - type: number - description: The debounce time (in milliseconds) to limit the scroll event rate. - default: 20 ### gradientColor - type: string - description: The color of the gradient behind the scroll buttons. ### gradientWidth - type: string - description: The width of the gradient behind the scroll buttons in pixels, e.g. '36px' ### scrollButtonSkin - type: "standard" | "light" | "dark" | "destructive" | "premium" | "inverted" | "transparent" | "ai" - description: Skin of the scroll buttons. - default: standard ### scrollButtonSize - type: "tiny" | "small" | "medium" | "large" - description: Size of the scroll buttons. - default: tiny ### dataHook - type: string - description: Applies a data-hook HTML attribute that can be used in the tests.