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

Function Button

packages/dev/s2-docs/pages/react-aria/ButtonExample.tsx:24–27  ·  view source on GitHub ↗
(props: ButtonProps)

Source from the content-addressed store, hash-verified

22});
23
24export function Button(props: ButtonProps) {
25 let ref = useRef(null);
26 return <RACButton {...props} ref={ref} className={buttonStyle} style={pressScale(ref)} />;
27}

Callers

nothing calls this directly

Calls 1

pressScaleFunction · 0.90

Tested by

no test coverage detected