UNPKG

@netdata/netdata-ui

Version:

netdata UI kit

14 lines (13 loc) 358 B
"use strict"; exports.__esModule = true; exports["default"] = void 0; var pillHeights = { "default": "18px", large: "22px" }; var getPillHeight = function getPillHeight(height, size, tiny) { if (height) return height; if (tiny) return "8px"; return pillHeights[size] || pillHeights["default"]; }; var _default = exports["default"] = getPillHeight;