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

16 lines
302 B
TypeScript
Raw Normal View History

2016-11-16 04:02:02 +01: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>
);