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

Function FieldButton

starters/tailwind/src/FieldButton.tsx:26–36  ·  view source on GitHub ↗
(props: ButtonProps)

Source from the content-addressed store, hash-verified

24});
25
26export function FieldButton(props: ButtonProps) {
27 return (
28 <RACButton
29 {...props}
30 className={composeRenderProps(props.className, (className, renderProps) =>
31 button({...renderProps, className})
32 )}>
33 {props.children}
34 </RACButton>
35 );
36}

Callers

nothing calls this directly

Calls 1

composeRenderPropsFunction · 0.85

Tested by

no test coverage detected