Skip to main content

EntryList.use-scroll-top

Components

useScrollTop()

useScrollTop(props): object

Parameters

ParameterType
propsUseScrollTopProps

Returns

object

MemberTypeValue
isHiddenbooleanhideScrollTop
scrollTopButtonPlacementnumber-

Source

libs/design-system-components/src/components/EntryList/use-scroll-top.ts:9

Props

UseScrollTopProps

UseScrollTopProps: object

Type declaration

MemberType
itemSpacingnumber
languageDirection"ltr" | "rtl"
rootElementRefReact.RefObject<HTMLElement>
topbarHeightnumber

Source

libs/design-system-components/src/components/EntryList/use-scroll-top.ts:3