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

Function ThreadScrollButtonInner

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

Source from the content-addressed store, hash-verified

347}
348
349function ThreadScrollButtonInner({domRef, isExiting, children}: ThreadScrollButtonInnerProps) {
350 let isEntering = useEnterAnimation(domRef);
351 return (
352 <div ref={domRef} className={scrollButtonWrapper({isEntering, isExiting})}>
353 {children}
354 </div>
355 );
356}
357
358const threadItemBase = style({
359 ...focusRing(),

Callers

nothing calls this directly

Calls 1

useEnterAnimationFunction · 0.90

Tested by

no test coverage detected