MCPcopy Index your code
hub / github.com/adobe/react-spectrum / ThreadScrollButtonInner

Function ThreadScrollButtonInner

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

Source from the content-addressed store, hash-verified

315}
316
317function ThreadScrollButtonInner({domRef, isExiting, children}: ThreadScrollButtonInnerProps) {
318 let isEntering = useEnterAnimation(domRef);
319 return (
320 <div ref={domRef} className={scrollButtonWrapper({isEntering, isExiting})}>
321 {children}
322 </div>
323 );
324}
325
326const threadItemBase = style({
327 ...focusRing(),

Callers

nothing calls this directly

Calls 1

useEnterAnimationFunction · 0.90

Tested by

no test coverage detected