Files
personal_site/frontend/node_modules/babel-plugin-styled-components/lib/utils/prefixDigit.js
T

9 lines
194 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = prefixLeadingDigit;
function prefixLeadingDigit(str) {
return str.replace(/^(\d)/, 'sc-$1');
}