Message Scroller
Auto-scrolling message container with new-content indicators.
Generado a partir del código fuente público del paquete.
API
MessageScrollerNewContentIndicatorPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
MessageScrollerRootPropsinterfaz
Propiedades
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
hijos: Element
MessageScrollerScrollAreaPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
NewContentIndicatorcomponente
NewContentIndicator(props: MessageScrollerNewContentIndicatorProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Rootcomponente
Root(props: MessageScrollerRootProps): Element
Propiedades
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
hijos: Element
ScrollAreacomponente
ScrollArea(props: MessageScrollerScrollAreaProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element