feat(elements): add tests for component factory strategy (#22413)
PR Close #22413
This commit is contained in:

committed by
Miško Hevery

parent
44f637a88b
commit
d2be675acc
@ -46,7 +46,7 @@ export const scheduler = {
|
||||
/**
|
||||
* Convert a camelCased string to kebab-cased.
|
||||
*/
|
||||
export function camelToKebabCase(input: string): string {
|
||||
export function camelToDashCase(input: string): string {
|
||||
return input.replace(/[A-Z]/g, char => `-${char.toLowerCase()}`);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user