(str: string, find: string, replace: string)
| 85 | } |
| 86 | |
| 87 | export const replaceAllUtil = (str: string, find: string, replace: string) => |
| 88 | str.replace(new RegExp(escapeRegExp(find), "g"), replace); |
| 89 | |
| 90 | export function stringToClassName(name: string): string { |
| 91 | const words = name.split(/[^a-zA-Z0-9]+/); |
nothing calls this directly
no test coverage detected