Created
August 28, 2019 18:00
-
-
Save AdamRamberg/628ed343a1baf43ef3efbd143f2dcbac to your computer and use it in GitHub Desktop.
Translate your React app with ease using Facebook's own framework (FBT) - fancyParagraph.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import fbt from 'fbt'; | |
const FancyParagraph = () => ( | |
<p> | |
<fbt desc="fancy paragraph">So fancy!</fbt> | |
</p> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment