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

Function clsx

packages/dev/docs/src/Layout.js:57–62  ·  view source on GitHub ↗
(
        typographyStyles['spectrum-Heading1--display'],
        typographyStyles['spectrum-Article'],
        docStyles['articleHeader']
      )

Source from the content-addressed store, hash-verified

55 <h1
56 {...props}
57 className={clsx(
58 typographyStyles['spectrum-Heading1--display'],
59 typographyStyles['spectrum-Article'],
60 docStyles['articleHeader']
61 )}>
62 {children}
63 </h1>
64 ),
65 h2: ({children, ...props}) => (

Callers

nothing calls this directly

Calls 1

getAnchorPropsFunction · 0.90

Tested by

no test coverage detected