MCPcopy
hub / github.com/chakra-ui/chakra-ui / cx

Function cx

packages/utils/src/dom.ts:51–51  ·  view source on GitHub ↗
(...classNames: any[])

Source from the content-addressed store, hash-verified

49 condition ? true : undefined
50
51export const cx = (...classNames: any[]) => classNames.filter(Boolean).join(" ")
52
53export function getActiveElement(node?: HTMLElement) {
54 const doc = getOwnerDocument(node)

Callers 15

number-input.tsxFile · 0.90
container.tsxFile · 0.90
code.tsxFile · 0.90
stack.tsxFile · 0.90
text.tsxFile · 0.90
link-box.tsxFile · 0.90
link.tsxFile · 0.90
wrap.tsxFile · 0.90
heading.tsxFile · 0.90
aspect-ratio.tsxFile · 0.90
kbd.tsxFile · 0.90
divider.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected