React: Trans
Functions, types, and exports for React: Trans.
Page outline
import { Trans } from "@palamedes/react"
<Trans id={…} />
Props
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Compiled lookup key injected by the transform. |
message | string | No | Authored source message, kept only as diagnostic metadata. |
context | string | No | |
comment | string | No | |
values | Record<string, unknown> | No | |
components | Record<string, ReactElement> | No |
Props type: TransProps
Last updated: November 1, 2026