MCPcopy Create free account
hub / github.com/chakra-ui/panda / normalizeHTMLProps

Function normalizeHTMLProps

packages/shared/src/normalize-html.ts:7–9  ·  view source on GitHub ↗
(props: Record<string, any>)

Source from the content-addressed store, hash-verified

5}
6
7export function normalizeHTMLProps(props: Record<string, any>) {
8 return Object.fromEntries(Object.entries(props).map(([key, value]) => [convert(key), value]))
9}
10
11normalizeHTMLProps.keys = /* @__PURE__ */ htmlProps

Callers

nothing calls this directly

Calls 2

entriesMethod · 0.80
convertFunction · 0.70

Tested by

no test coverage detected