Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using date component
import React, { Component } from 'react';
import Date from require('./components/Date.js')
export default class App extends Component {
initAsync = async (that) => {
}
constructor(props) {
super(props)
}
render = () => {
return (<Date date={'2019-05-11 16:32:57 -0300'}/>)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment