import React from 'react'; import List from '@material-ui/core/List'; import ListItem from '@material-ui/core/ListItem'; import { DistTags } from '../../../types/packageMeta'; import { Spacer, ListItemText } from './styles'; interface Props { tags: DistTags; } const VersionsTagList: React.FC = ({ tags }) => ( {Object.keys(tags) .reverse() .map(tag => ( {tag} {tags[tag]} ))} ); export default VersionsTagList;