mirador
Version:
An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
11 lines (9 loc) • 306 B
JavaScript
import settings from './settings';
/**
* export ns - sets up css namespacing for everything to be `mirador-`
*/
const ns = (classNames) =>
[classNames].flat()
.map((className) => [settings.createGenerateClassNameOptions.productionPrefix, className].join('-'))
.join(' ');
export default ns;