Skip to content

React / macro: Trans

Functions, types, and exports for React / macro: Trans.

Page outline
import { Trans } from "@palamedes/react/macro"

<Trans>{children}</Trans>

Props

NameTypeRequired
messagestringNo
contextstringNo
commentstringNo
childrenReactNodeNo

Props type: MacroTransProps

Source entry on GitHub

Last updated: November 10, 2026