UNPKG

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.

14 lines (12 loc) 344 B
import settings from './settings' import flatten from 'lodash/flatten'; /** * export ns - sets up css namespacing for everything to be `mirador-` */ const ns = classNames => flatten([classNames]).map( className => [ settings.createGenerateClassNameOptions.productionPrefix, className, ].join('-') ).join(' '); export default ns;