Skip to content

styleObjectForEach

reference
1 min readUpdated

Kind: Function

Source: src/jsx/utils.ts

Part of: Jsx

Signature

ts
function styleObjectForEach(style: Record<string, unknown>, fn: (key: string, value: string | null) => void): void

Parameters

NameType
styleRecord<string, unknown>
fn`(key: string, value: string

Returns: void

Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (3)

  • Propssrc/jsx/base.ts:27
  • HasRenderToDomsrc/jsx/dom/render.ts:30
  • jsxAttrsrc/jsx/jsx-runtime.ts:16

Was this page helpful?

Download as PDF
styleObjectForEach — Hono (narrator proof)