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

Function ColorLink

packages/dev/s2-docs/src/Link.tsx:74–76  ·  view source on GitHub ↗
({type, ...props}: RACLinkProps & {type?: 'keyword' | 'variable'})

Source from the content-addressed store, hash-verified

72});
73
74export function ColorLink({type, ...props}: RACLinkProps & {type?: 'keyword' | 'variable'}) {
75 return <RACLink {...props} className={r => colorLink({...r, type})} />;
76}
77
78export function CodeLink(props: RACLinkProps) {
79 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected