default
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / components/common/ScrollToTopFAB / default
Function: default()
default(
__namedParameters):Element|null
Defined in: src/components/common/ScrollToTopFAB.tsx:63
Scroll to top floating action button
Appears after scrolling down a certain threshold and provides a quick way to return to top of page.
Parameters
__namedParameters
Returns
Element | null
Example
function MyPage() {
return (
<div>
<Content />
<ScrollToTopFAB threshold={300} />
</div>
)
}