Represents a scroll to top button view component.

  • Parameters

    • props: IScrollTopViewProps

      The component props.

      • className

        The class name for the component.

      • style

        The inline style for the component.

      • sx

        The sx prop for the component.

      • color

        The color of the component.

      • size

        The size of the component.

      • scrollTarget

        The element to scroll when clicked.

      • otherProps

        Other additional props.

    Returns Element

    The scroll to top button view component.