minHeight | number | | | set minimal height |
dataTest | string | | | prop for testing purposes |
id | string | | | Set id for HorizontalScroll |
spacing | Spacing | | “small” | the spacing between children elements |
children | React.ReactNode | ✔️ | | content of HorizontalScroll |
scrollSnap | ScrollSnap | | “none” | set value for scroll-snap-type property |
scrollPadding | number | | | set value for scroll-padding property |
overflowElevation | boolean | | | set box-shadow on sides during scroll |
elevationColor | string | | paletteCloudDarker | set box-shadow color. Value must be the name of a color token from the theme. |
onOverflow | () => void | | | callback function, fires, if content is overflowed |
arrows | boolean | | | show arrows |
arrowsColor | string | | | set arrows color |