create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
15 lines (13 loc) • 366 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = camelCaseProperty;
var dashRegex = /-([a-z])/g;
var msRegex = /^Ms/g;
function camelCaseProperty(property) {
return property.replace(dashRegex, function (match) {
return match[1].toUpperCase();
}).replace(msRegex, 'ms');
}
module.exports = exports['default'];