woocommerce/plugins/woocommerce-admin/client/components/count/index.js

20 lines
321 B
JavaScript

/** @format */
/**
* External dependencies
*/
import PropTypes from 'prop-types';
/**
* Internal dependencies
*/
import './style.scss';
const Count = ( { count } ) => {
return <span className="woo-dash__count">{ count }</span>;
};
Count.propTypes = {
count: PropTypes.number.isRequired,
};
export default Count;