import React from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import { Container, Icon } from '../../components/'; import { Link } from 'react-router-dom'; import Path from 'path'; import './frequently_access.scss'; export class FrequentlyAccess extends React.Component { constructor(props){ super(props); } render(){ if(this.props.files.length < 1) return null; return (
{ this.props.files.map(function(path, index){ return (
{Path.basename(path)}
); }) }
); } }