message: refactor(HorizontalScroll): Destructure props correctly
diff: @@ -114,18 +114,16 @@ function doScroll({
  })();
  }
  -const HorizontalScroll: React.FC<HorizontalScrollProps> = (props: HorizontalScrollProps) => {
  - const {
  +const HorizontalScroll: React.FC<HorizontalScrollProps> = ({
  children,
  getScrollToLeft,
  getScrollToRight,
  - showArrows,
  + showArrows = true,
  scrollAnimationDuration,
  hasMouse,
  getRef,
  ...restProps
  - } = props;
  -
  +}: HorizontalScrollProps) => {
  const [canScrollLeft, setCanScrollLeft] = React.useState(false);
  const [canScrollRight, setCanScrollRight] = React.useState(false);
  @@ -191,10 +189,6 @@ const HorizontalScroll: React.FC<HorizontalScrollProps> = (props: HorizontalScro
  );
  };
  -HorizontalScroll.defaultProps = {
  - showArrows: true,
  -};
  -
  export default withAdaptivity(HorizontalScroll, {
  hasMouse: true,
  });
  