import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import moment from 'moment'; import { Link } from 'react-router'; import * as SketchActions from '../actions/projects'; import * as ProjectActions from '../actions/project'; import InlineSVG from 'react-inlinesvg'; const exitUrl = require('../../../images/exit.svg'); class SketchList extends React.Component { componentDidMount() { this.props.getProjects(this.props.username); } render() { return (
Name | Created | Last Updated |
---|---|---|
{sketch.name} | {moment(sketch.createdAt).format('MMM D, YYYY h:mm:ss A')} | {moment(sketch.updatedAt).format('MMM D, YYYY h:mm:ss A')} |