UNPKG

@redocly/theme

Version:

Shared UI components lib

10 lines 337 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getProductClassName = getProductClassName; function getProductClassName(productName) { return `product-${productName .toLowerCase() .replace(/[^a-z0-9]+/g, '-') .replace(/^-+|-+$/g, '')}`; } //# sourceMappingURL=utils.js.map