- 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
4 lines
124 B
JavaScript
4 lines
124 B
JavaScript
var rUpper = /([A-Z])/g;
|
|
export default function hyphenate(string) {
|
|
return string.replace(rUpper, '-$1').toLowerCase();
|
|
} |