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

Function Token

starters/tailwind/src/TokenField.tsx:71–80  ·  view source on GitHub ↗
(props: TokenProps)

Source from the content-addressed store, hash-verified

69}
70
71export function Token(props: TokenProps) {
72 return (
73 <AriaToken
74 {...props}
75 className={composeRenderProps(props.className, (className, renderProps) =>
76 tokenStyles({...renderProps, className})
77 )}
78 />
79 );
80}

Callers

nothing calls this directly

Calls 1

composeRenderPropsFunction · 0.85

Tested by

no test coverage detected