Skip to content

Instantly share code, notes, and snippets.

@akulsr0
Created October 23, 2020 11:55
Show Gist options
  • Save akulsr0/076304df7b0721c4d3ed33e53fb974f9 to your computer and use it in GitHub Desktop.
Save akulsr0/076304df7b0721c4d3ed33e53fb974f9 to your computer and use it in GitHub Desktop.
React Native UI - TimeAgp
import React from 'react';
import {
Text
} from 'react-native';
import TimeAgo from 'react-native-timeago';
export default function App() {
return (
<Text style={{ fontSize: 18 }}>
{'This part of app is coded '}
<TimeAgo time={'2020-10-23T11:48:54.214Z'} />.
</Text>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment