cartodb/lib/assets/javascripts/new-dashboard/utils/get-css-modifier.js
2020-06-15 10:58:47 +08:00

8 lines
187 B
JavaScript

import replaceAll from './replace-all';
const getCSSModifier = function getCSSModifier (option) {
return replaceAll(option, ' ', '-').toLowerCase();
};
export default getCSSModifier;