Last active
April 7, 2018 02:41
-
-
Save ryandrewjohnson/9042eae1c3b5f5f2b0fcbd403a579f62 to your computer and use it in GitHub Desktop.
react-localize-redux - app-01.js
This file contains hidden or 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 { Translate } from 'react-localize-redux'; | |
| const Profile = props => ( | |
| <Translate id="profile" data={{ name: 'Ted', date: new Date() }}> | |
| {'User: ${name} last login ${date}'} | |
| </Translate> | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment