wallet-core/node_modules/pogen/example/test2.tsx

16 lines
302 B
TypeScript
Raw Normal View History

2017-05-24 15:10:37 +02:00
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>
);