Skip to content

Instantly share code, notes, and snippets.

@faustoct1
Last active May 30, 2019 05:02
Show Gist options
  • Save faustoct1/6f04a5086d218d6639de372c58189346 to your computer and use it in GitHub Desktop.
Save faustoct1/6f04a5086d218d6639de372c58189346 to your computer and use it in GitHub Desktop.
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