Internationalization
Trans
`<Trans>` — the component form of `$t` (S13 #1418), for translating strings in element bodies. Equal first-class partner to `useI18n().t` for attributes.Public export
typescript
import { Trans } from '@happyvertical/smrt-ui/i18n';- Import path
@happyvertical/smrt-ui/i18n- Props
- 2
- Props described
- 2 of 2
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
keystringYesMessage key, e.g. `ui.data_table.empty`.varsLanguageVariablesNoVariables substituted into `{var}` placeholders.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.