import React from "react" import PropTypes from "prop-types" import { TorrentsStat } from "./torrentsStat" export const Stat = ({ name, count, torrentCount, torrentCountById }) => (

{name} {count}

) Stat.propTypes = { name: PropTypes.string, count: PropTypes.number, torrentCount: PropTypes.number, torrentCountById: PropTypes.number, };