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

Function ThreadScrollButtonInner

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

Source from the content-addressed store, hash-verified

360}
361
362function ThreadScrollButtonInner({domRef, isExiting, children}: ThreadScrollButtonInnerProps) {
363 let isEntering = useEnterAnimation(domRef);
364 return (
365 <div ref={domRef} className={scrollButtonWrapper({isEntering, isExiting})}>
366 {children}
367 </div>
368 );
369}
370
371const threadItemBase = style({
372 ...focusRing(),

Callers

nothing calls this directly

Calls 1

useEnterAnimationFunction · 0.90

Tested by

no test coverage detected