@wix/design-system
Version:
@wix/design-system
28 lines (24 loc) • 862 B
Markdown
### 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.
### scrollDebounce
- type: number
- description: The debounce time (in milliseconds) to limit the scroll event rate.
### 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: IconButtonSkin
- description: Skin of the scroll buttons.
### scrollButtonSize
- type: IconButtonSize
- description: Size of the scroll buttons.
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests.