UNPKG

@grafana/ui

Version:
15 lines (13 loc) 477 B
function logOptions(amount, recommendedAmount, id, ariaLabelledBy) { if (amount > recommendedAmount) { const msg = `[Combobox] Items exceed the recommended amount ${recommendedAmount}.`; console.warn(msg, { itemsCount: "" + amount, recommendedAmount: "" + recommendedAmount, "aria-labelledby": ariaLabelledBy != null ? ariaLabelledBy : "", id: id != null ? id : "" }); } } export { logOptions }; //# sourceMappingURL=logOptions.mjs.map