Skip to content

Commit

Permalink
docs(ScrollControls): fix typo and default value decription (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
klingat authored Dec 19, 2023
1 parent 8da6b24 commit 8f0a045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/ScrollControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ import { ForwardRefComponent } from '../helpers/ts-utils'
export type ScrollControlsProps = {
/** Precision, default 0.00001 */
eps?: number
/** Horontal scroll, default false (vertical) */
/** Horizontal scroll, default false (vertical) */
horizontal?: boolean
/** Infinite scroll, default false (experimental!) */
infinite?: boolean
/** Defines the lenght of the scroll area, each page is height:100%, default 1 */
pages?: number
/** A factor that increases scroll bar travel,default: 1 */
distance?: number
/** Friction in seconds, default: 0.2 (1/5 second) */
/** Friction in seconds, default: 0.25 (1/4 second) */
damping?: number
/** maxSpeed optionally allows you to clamp the maximum speed. If damping is 0.2s and looks OK
* going between, say, page 1 and 2, but not for pages far apart as it'll move very rapid,
Expand Down

1 comment on commit 8f0a045

@vercel
Copy link

@vercel vercel bot commented on 8f0a045 Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.