Skip to content

Commit

Permalink
Merge pull request #19 from SpazzMarticus/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc authored Aug 9, 2019
2 parents 7141cf6 + eca269b commit 7d636b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The `locale` language of statement, default is `en`. All supported locales [here
```js
import React from 'react';
import TimeAgo from 'timeago-react';
import timeago from 'timeago.js';
import * as timeago from 'timeago.js';

// import it first.
timeago.register('vi', require('timeago.js/locales/vi'));
Expand Down

0 comments on commit 7d636b9

Please sign in to comment.