ScrollToTopFABProps
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / components/common/ScrollToTopFAB / ScrollToTopFABProps
Interface: ScrollToTopFABProps
Defined in: src/components/common/ScrollToTopFAB.tsx:13
Props for ScrollToTopFAB component
Properties
threshold?
optionalthreshold:number
Defined in: src/components/common/ScrollToTopFAB.tsx:18
Scroll threshold in pixels to show button
Default
200
bottom?
optionalbottom:string
Defined in: src/components/common/ScrollToTopFAB.tsx:24
Position from bottom of viewport
Default
'2rem'
right?
optionalright:string
Defined in: src/components/common/ScrollToTopFAB.tsx:30
Position from right of viewport
Default
'2rem'
scrollContainer?
optionalscrollContainer:string|HTMLElement|null
Defined in: src/components/common/ScrollToTopFAB.tsx:36
Scroll container selector or element If not provided, uses window scroll
behavior?
optionalbehavior:ScrollBehavior
Defined in: src/components/common/ScrollToTopFAB.tsx:42
Scroll behavior
Default
'smooth'