1 import PropTypes from 'prop-types';
2 import React from 'react';
4 const CountDisplay = ({ className, count }) => {
5 const classNames = ['count-display'];
7 classNames.push(className);
10 classNames.push('is-zero');
12 return <span className={classNames.join(' ')}>
17 CountDisplay.propTypes = {
18 className: PropTypes.string,
19 count: PropTypes.number,
22 export default CountDisplay;