wallet-core/packages/pogen/example/test2.tsx
2019-03-28 01:30:06 +01:00

16 lines
302 B
TypeScript

let x = <i18n.Translate>foo
{bar} {" foo "} baz</i18n.Translate>
let y = (
<i18n.TranslateSwitch>
<i18n.TranslateSingular>
singular form
second line
</i18n.TranslateSingular>
<i18n.TranslatePlural>
plural form
</i18n.TranslatePlural>
</i18n.TranslateSwitch>
);