ETHReport/components/topicsList/index.js

15 lines
291 B
JavaScript
Raw Normal View History

import React from 'react';
import Data from '../../data/archives/topics';
import './style.scss';
export default () => (
<div className="topics-list">
<h4>Topics</h4>
<ul>
{
2018-07-05 10:04:46 +00:00
Data.map(topic => <li key={topic}><span>{ topic }</span></li>)
}
</ul>
</div>
);