showing results for - "how to make modules structure like lodash"
Asma
01 Jul 2017
1// ShoppingCartCount.jsx
2import { pluralize } from 'utils';
3
4export function ShoppingCartCount({ count }) {
5  return (
6    <div>
7      Shopping cart has {count} {pluralize('product', count)}
8    </div>
9  );
10}