- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
6 lines
156 B
JavaScript
6 lines
156 B
JavaScript
var rHyphen = /-(.)/g;
|
|
export default function camelize(string) {
|
|
return string.replace(rHyphen, function (_, chr) {
|
|
return chr.toUpperCase();
|
|
});
|
|
} |