# styleObjectForEach

**Kind:** Function

**Source:** [`src/jsx/utils.ts`](https://github.com/honojs/hono/blob/main/src/jsx/utils.ts#L169)

**Part of:** [Jsx](subsystem-src-jsx)

## Signature

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

## Parameters

| Name | Type |
|---|---|
| `style` | `Record<string, unknown>` |
| `fn` | `(key: string, value: string | null) => void` |

**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)

- `Props` — `src/jsx/base.ts`:27
- `HasRenderToDom` — `src/jsx/dom/render.ts`:30
- `jsxAttr` — `src/jsx/jsx-runtime.ts`:16
