Pluralize

The Pluralize component is a small utility component for implementing the common need to conditional pluralize words based on a quantity. For example, consider a page that can contain one or more search results and a result count. You could use this component to output "0 results", "1 result", or "2 results", depending on the result count.

expand