export function selectedItemsLabel({ labels, totalItemsInLabel = 2, remaining = (totalRemaining) => totalRemaining > 0 ? `, +${totalRemaining}` : '', }) {
    const totalRemaining = labels.length - totalItemsInLabel;
    return (labels.slice(0, totalItemsInLabel).join(', ') + remaining(totalRemaining));
}
//# sourceMappingURL=selectedItemsLabel.js.map