Message Scroller
Auto-scrolling message container with new-content indicators.
Generated from the package's public source.
API
MessageScrollerNewContentIndicatorPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
MessageScrollerRootPropsinterface
Props
bottomThreshold?number— Pixel threshold from bottom to consider "at bottom". Default: 50.class?stringonNewContent?() => void— Called when new content appears while scrolled up.scrollBehavior?ScrollBehavior— Scroll behavior for auto-scroll. Default: 'smooth'.style?string | CSSProperties
children: Element
MessageScrollerScrollAreaPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
NewContentIndicatorcomponent
NewContentIndicator(props: MessageScrollerNewContentIndicatorProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
Rootcomponent
Root(props: MessageScrollerRootProps): Element
Props
bottomThreshold?number— Pixel threshold from bottom to consider "at bottom". Default: 50.class?stringonNewContent?() => void— Called when new content appears while scrolled up.scrollBehavior?ScrollBehavior— Scroll behavior for auto-scroll. Default: 'smooth'.style?string | CSSProperties
children: Element
ScrollAreacomponent
ScrollArea(props: MessageScrollerScrollAreaProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element