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

Function ty

packages/@react-spectrum/ai/src/loader/react.tsx:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120// Use the individual `translate`/`scale` transform properties so the drop and
121// the pop can animate on the same element without clobbering one another.
122const ty = v => `translate:0 ${v}px;`;
123const sc = v => `scale:${v};`;
124const op = v => `opacity:${v};`;
125

Callers 1

cellYKeyframesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected