MCPcopy Create free account
hub / github.com/adobe/react-spectrum / ThreadScrollButtonInner

Function ThreadScrollButtonInner

packages/@react-spectrum/ai/src/Chat.tsx:425–432  ·  view source on GitHub ↗
({domRef, isExiting, children}: ThreadScrollButtonInnerProps)

Source from the content-addressed store, hash-verified

423}
424
425function ThreadScrollButtonInner({domRef, isExiting, children}: ThreadScrollButtonInnerProps) {
426 let isEntering = useEnterAnimation(domRef);
427 return (
428 <div ref={domRef} className={scrollButtonWrapper({isEntering, isExiting})}>
429 {children}
430 </div>
431 );
432}
433
434const threadItemBase = style({
435 ...focusRing(),

Callers

nothing calls this directly

Calls 1

useEnterAnimationFunction · 0.90

Tested by

no test coverage detected