wallet-core/node_modules/pogen/example/test2.tsx
2017-05-24 15:11:17 +02: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>
);