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

Function Keyword

packages/dev/docs/src/types.js:202–209  ·  view source on GitHub ↗
({type})

Source from the content-addressed store, hash-verified

200}
201
202function Keyword({type}) {
203 let link = getDoc(type);
204 if (link) {
205 return (
206 <a
207 href={link}
208 className={`${styles.colorLink} token hljs-keyword`}
209 data-hover={styles['is-hovered']}
210 rel="noreferrer"
211 target="_blank">
212 {type}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected